httpd-users mailing list archives

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

Just a quick follow-up. "...https?..." did in fact work. Thanks so much.

(for everyone else, pardon the excess use of bandwidth just for a thank 
you, but thank you's come few and far between too often in today's world. 
Thanks again Andrea)

-mike

At 02:16 PM 3/10/2003, you wrote:
>Hi,
>
>from a regular expressions point of view the syntax is:
>
>https?
>
>the ? before the s means that the s is optional,
>so in that case http and https a both matched.
>
>I have many doubts about the first rule you wrote,
>did you test them ?
>
>So If understand your needs,
>I'd write:
>
>RewriteCond %{HTTP_REFERER} !^https?://.*(sample_text|sample_numeric)$ [NC]
>
>
>
>:-) Andrea


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