[CentOS] creating a htpasswd file for certain urls

James Hogarth james.hogarth at gmail.com
Fri Mar 18 15:48:49 UTC 2011


>>the entire site needs passwd protection except for the  Below  Urls .
>>
>>http://beta.somesite.com/wp-content/uploads/2011/03/large_1990782-e1299229
>>617964.jpg
>>
>>http://beta.somesite.com/?cat=592&feed=rss2
>
> With my limited knowledge could a ReWrite rule work here?
>

Take a look at the <Location> element in the apache configuration documentation.

James



More information about the CentOS mailing list