CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   Need some help with my htaccess file... pls help (http://www.codingforums.com/showthread.php?t=268664)

leo_75 07-24-2012 01:26 PM

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.


All times are GMT +1. The time now is 03:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.