Using port 443 for squirrelmail

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Aug 12 20:53:11 UTC 2004


Am Do, den 12.08.2004 schrieb Doug Coats um 22:38:

Please don't "hijack" foreign threads by replying to an unrelated
posting rather than starting with a new and empty mail editor window.

> How do I force squirrelmail to only use https and not accept http
> connections.

> Doug Coats

You have to redirect http connects to the https site. One way is
following code:

<Directory /var/www/html/squirrelmail>
    RewriteEngine       on
    RewriteCond         %{SERVER_PORT} !=443
    RewriteRule         ^.* - [F]
    ErrorDocument       403 https://webmail.domain.tld/
</Directory>

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp 
Serendipity 22:50:40 up 8 days, 16:18, load average: 1.79, 1.49, 1.37 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040812/32f072d8/attachment-0001.sig>


More information about the fedora-list mailing list