SSL site speaking plain non-SSL on port 443 and redirecting to /apache2-default/

Discussion in 'Technical' started by samrolken, Jul 17, 2006.

  1. samrolken

    samrolken New Member

    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>
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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.
     

Share This Page