I have my site setup and can access it manually by entering https://mysite.com/folder but it does not force the redirect to SSL
I have tried entering beloe in https-xampp.conf but apache doesnt start "bad flag delimiter"
- Code: Select all
# Redirect /<em><span style="color: red;">folder_name</span></em> folder to https
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} <em><span style="color: red;">folder_name</span></em>
RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]
I am confused on which file I need to edit since httpd.conf points to httpd-ssl.conf and httpd-xampp.conf in the httpd.conf file.
What should I be entering and where? If I have left out any information please let me know. Running on ubuntu 14.10 x64
Thank you,