HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   SSL site speaking plain non-SSL on port 443 and redirecting to /apache2-default/ (http://www.howtoforge.com/forums/showthread.php?t=5578)

samrolken 17th July 2006 16:10

SSL site speaking plain non-SSL on port 443 and redirecting to /apache2-default/
 
Problem as described in subject line. Been using ispconfig for a while, really
like it. Trying to set up a SSL-enabled site produces this problem.

SSL module is installed. Instructions regarding installing the certificate were followed with no problems.

Here's the relevant parts of my vhosts file:

Code:

# Vhost: www.bzwear.com:80
##ISPConfig vHost Configuration File
#

<VirtualHost 72.51.38.97:80>
ProxyPass / http://127.0.0.1:4717/
ProxyPassReverse / http://127.0.0.1:4717/
ServerName www.bzwear.com:80
ServerAdmin webmaster@bzwear.com
DocumentRoot /var/www/web6/web
ServerAlias bzwear.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 in$ErrorLog /var/www/web6/log/error.log
Alias /error/ "/var/www/web6/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
</VirtualHost>
#
<IfModule mod_ssl.c>
<VirtualHost 72.51.38.97:443>
ProxyPass / http://127.0.0.1:4717/
ProxyPassReverse / http://127.0.0.1:4717/
ServerName www.bzwear.com:443
ServerAdmin webmaster@bzwear.com
DocumentRoot /var/www/web6/web
ServerAlias bzwear.com
DirecLog /var/www/web6/log/error.log
SSLEngine on
SSLCertificateFile /var/www/web6/ssl/www.bzwear.com.crt
SSLCertificateKeyFile /var/www/web6/ssl/www.bzwear.com.key
Alias /error/ "/var/www/web6/web/error/"
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web6/user/$1/web/$3
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 for$
</VirtualHost>
</IfModule>


falko 18th July 2006 13:42

What happens if you remove the
Code:

ProxyPass / http://127.0.0.1:4717/
ProxyPassReverse / http://127.0.0.1:4717/

lines from your SSL vhost and restart Apache? SSL should work then.


All times are GMT +2. The time now is 18:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.