View Single Post
Old 07-24-2012, 01:26 PM   PM User | #1
leo_75
New to the CF scene

 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
leo_75 is an unknown quantity at this point
Need some help with my htaccess file... pls help

Here is my htaccess file:

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(.*\.)*mydomain.com$ [NC]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://www.mydomain.com$1 [R]
I would like to make ONLY a folder https protected, not the entire site.
How would i do it? Which changes do i need?

Thanks,
Regards,
Leo.
leo_75 is offline   Reply With Quote