httpd-users mailing list archives

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

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...

Thanks.
-mike


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message