Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 17th July 2006, 15:10
samrolken samrolken is offline
Junior Member
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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>
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:03.


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