httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward...@ita.org.mo
Subject Re: Problem between http and https
Date Wed, 31 Jul 2002 07:37:06 GMT
So, does your this setting is ok for work now ?

Robert Andersson wrote:

> EdwardSPL@ita.org.mo wrote:
>
> > Hello,
> >
> > Would you mind to help me to midify my ssl and non-ssl part ?
> > Because I don't quite understand your means, and I get the setting from
> web
> > site of apache...
> > So, sorry to you to help me more problems...
> >
>
> I'll give it a shot. I've added another VHost (webmail.mydomain.com:80)
> using a Redirect, and removed the unnecessary rewrite rules of the ssl-host.
>
> # Main Site
> <VirtualHost 192.168.200.1:80>
>     DocumentRoot "/usr/local/apache/htdocs"
>     ServerName www.mydomain.com
>     ServerAdmin root@mydomain.com
>     ErrorLog /usr/local/apache/logs/error_log
>     TransferLog /usr/local/apache/logs/access_log
> </VirtualHost>
>
> # WebMail - non-SSL
> <VirtualHost 192.168.200.1:80>
>     # Added
>     Redirect / https://webmail.mydomain.com
>     DocumentRoot "/usr/local/apache/htdocs"
>     ServerName webmail.mydomain.com
>     ServerAdmin root@mydomain.com
>     ErrorLog /usr/local/apache/logs/error_log
>     TransferLog /usr/local/apache/logs/access_log
> </VirtualHost>
>
> # WebMail - SSL
> <VirtualHost 192.168.200.1:443>
>     <IfDefine SSL>
>         DocumentRoot "/usr/local/apache/htdocs"
>         ServerName webmail.mydomain.com
>         ServerAdmin root@mydomain.com
>         ErrorLog /usr/local/apache/logs/error_log
>         TransferLog /usr/local/apache/logs/access_log
>         SSLEngine on
>         SSLCipherSuite
> ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
>         SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
>         SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
>         <Files ~ "\.(cgi|shtml|phtml|php3?)$">
>             SSLOptions +StdEnvVars
>         </Files>
>         <Directory "/usr/local/apache/cgi-bin">
>             SSLOptions +StdEnvVars
>         </Directory>
>         SetEnvIf User-Agent ".*MSIE.*" \
>                  nokeepalive ssl-unclean-shutdown \
>                  downgrade-1.0 force-response-1.0
>         CustomLog /usr/local/apache/logs/ssl_request_log \
>                   "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
>         </IfDefine>
> </VirtualHost>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message