Could you give some explanations wrt. your RewriteCond ? I have never seen 
this kind of expressions before.

-ascs

-----Original Message-----
From: Robert Ionescu [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 29, 2006 7:55 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] rewrite rule

RewriteEngine On
RewriteCond %{HTTP_REFERRER}<>$1 !(/test/.+)<>\1$
RewriteRule ^(/test/[^/]*\.(html?|php))$ /test-redir.php?page=$1 [L,NS]

-- 
Robert

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to