httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] Again About ReWriting URL
Date Fri, 03 Sep 2004 09:00:53 GMT
Erwien Samantha Y wrote:
> Can you tell me what the meaning  "!.+" ?

Dot (.) matches any character, the plus sign (+) matches one or more
instances of the previous. So, the expression ".+" matches anything but an
empty string. Exclamation mark (!) negates the test, thus the condition is
"if the string is empty". Having said that, I realize that the expression
"^$" would make more sense :)

> this the real condition that  i want to do ..
> Deny this request because there're no INFO about HTTP_REFERER

Does the rule seem to work? Are you sure it is only "admin.html" you want to
protect this way, and not other URIs it might link to?

Robert Andersson

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