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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th July 2006, 16: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
  #2  
Old 18th July 2006, 13:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

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 22:42.


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