Click to See Complete Forum and Search --> : mod_ssl virtualhost


skizrule
04-11-2003, 04:57 PM
I set up squirrelmail on my web server under apache 1.3 and mod_ssl. If I point my browser to http://www.mydomain.com/webmail, squirrelmail works fine. If I point it to https://www.mydomain.com/webmail, it won't work unless I have the trailing slash. Is this unavoidable? Also, I have a regular virtual host set up for http://webmail.mydomain.com that works fine with squirrelmail's document root at /var/www/htdocs/webmail. When I try the same URL with https, I get my default document root page, not the virtual host directory. Anyone know how to fix this?

dc2447
04-13-2003, 08:33 PM
Originally posted by skizrule
I set up squirrelmail on my web server under apache 1.3 and mod_ssl. If I point my browser to http://www.mydomain.com/webmail, squirrelmail works fine. If I point it to https://www.mydomain.com/webmail, it won't work unless I have the trailing slash. Is this unavoidable? Also, I have a regular virtual host set up for http://webmail.mydomain.com that works fine with squirrelmail's document root at /var/www/htdocs/webmail. When I try the same URL with https, I get my default document root page, not the virtual host directory. Anyone know how to fix this?

you need to set a document root in your ssl virtual host, have you done this?