Sorry, I'm not familiar enough with whatever regex engine Apache uses to 
give you good advice.  If it supported negative lookahead, you might be 
able to do something with that, though.

--Ben

wolf2k5 wrote:
> On 1/18/06, wolf2k5 <[EMAIL PROTECTED]> wrote:
>> Now I need a directive for the Apache HTTPS vhost  config file to make
>> sure that if anyone tries to access the rest of the web site (anything
>> outside the secure directory) over HTTPS, he is redirected to the HTTP
>> URL, something like this:
>>
>>     RedirectPermanent  !^/secureDirectory/ http://www.mywebsite.com/
>>
>> Obviously this directive doesn't work, since that's not the right way
>> to negate a regular expression.
>> How do I negate it?
> 
> Any help?
> 
> Thanks.
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229970
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to