httpd-users mailing list archives

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

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)


At 02:16 PM 3/10/2003, you wrote:
>from a regular expressions point of view the syntax is:
>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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message