Re: Using port 443 for squirrelmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux