redirect to /webmail/ breaks certificate

Discussion in 'Installation/Configuration' started by hairydog2, Feb 26, 2006.

  1. hairydog2

    hairydog2 Member

    If someone goes to https://www.host.com:81/webmail the SSL certificate for www.host.com is valid, but Apache redirects this to https://host.com:81/webmail/ which means that there is an "Invalid Certificate" alert box opened.

    If they go to https://www.host.com:81/webmail/ there is no problem. It opens the email address & password box without a redirect.

    How can I get the redirect from the address with missing / to go to the right place (with www)?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the value of ServerName in /root/ispconfig/httpd/conf/httpd.conf?

    Which URL do you have in /home/admispconfig/ispconfig/lib/config.inc.php?
     
  3. hairydog2

    hairydog2 Member

    ServerName was without the www but config.inc.php did have the www

    I added the www and did "etc/init.d/ispconfig_server restart" and all is now fine. Many thanks.
     

Share This Page