httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike <>
Subject [users@httpd] Need help with a RewriteCond Statement (http/https)
Date Thu, 10 Apr 2003 17:10:47 GMT

I have a question about a RewriteCond statement.

I'm not sure how to do it, but I would like to change the following 
one-liner - where the "http://" portion is located - to have it recognize 
either or both non-ssl (http://) and ssl (https://).

RewriteCond %{HTTP_REFERER} 
!^($|(http://)?[^/]*(sample_text|sample_numeric)) [NC]

I'm thinking it may be this, but I am unsure.

RewriteCond %{HTTP_REFERER} 
!^($|(http://|https://)?[^/]*(sample_text|sample_numeric)) [NC]

Can someone help me with that please...


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message