Hello all, I am runing Ubuntu 8.10 with ISPconfig 2. I have many clients that use the webmail function of the site. It is working great except that they get the unsecure site warning when they try to login to https://www.mysite.com:81 I bought a SSL Cert that is good for 1 domain and that domain is not https://www.mysite.com:81 but instead https://server1.mysite.com:81 if I goto https://server1.mysite.com:81 everything works great. I have many clients that will only type https://www.mysite.com:81 or https://mysite.com:81 . What I need is to find a way to forward or Rewite the url to the correct one. I tried to set the RewriteEngine On in the .htaccess file but I get errors that state.. .htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration. I cannot find a way to redirect the site. Thank you in advance.
You need Code: AllowOverride All in the vhost configuration to allow mod_rewrite directives in an .htaccess file.
AllowOverride All is set to all. The file that I am setting it in is /root/ispconfig/httpd/conf/httpd.conf The error I get in the logs Code: /home/admispconfig/ispconfig/web/.htaccess: Invalid comman d 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration It works for all my main site via the Vhost.conf files. But it does not looking installed for the ispconfig_server running on port 81
You'd have to rebuild ISPConfig's Apache (which is not a good idea, I think, because even if you succeed, it would be lost the next time you upgrade ISPConfig).
May be we could look into putting this into the next update / upgrade I cannot be the only one that needs this option. Thanks for all the information.