I have ISPconfig 2 setup but no SSL on my site and no certificate installed on my server. There is only one site on the server but I need to forward all HTTPS requests to the HTTP site. I read another thread on using mod_rewrite to do it but I was wondering how to do I use mod_rewrite to do it? Do I need to modify the .htaccess file in the root to do this? Thanks!
Please see ISPConfig FAQ: http://www.faqforge.com/linux/contr...http-connection-to-https-in-apache-webserver/
That's for http -> https. I'm trying to do https -> http. For the webserver that I setup, the users want the site forwarded from https requests to the regular http site. SSL hasn't been setup on the server for the default site. There is only one site on the ISPconfig server right now.
Try Code: RewriteEngine On RewriteCond %{HTTPS} on RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}
Thanks, do I need to enable SSL and get a certificate before I can do the mod_rewrite? I tried the other code I posted before but it doesn't work, so I had a feeling I needed to enable SSL and get a certificate before I can forward requests to the http:// part of the site?