On Sat, Jan 24, 2009 at 6:31 PM, André Warnier <aw@xxxxxxxxxx> wrote: > Sorry to butt in, but is it not just the RewriteCond that is badly written ? > So should > RewriteCond $1 !=robots.txt > not be > RewriteCond %1 !=robots.txt No, The logic in the RewriteCond referring back to the RewriteRule backreference is just fine. You might argue that referencing %{REQUEST_URI} is easier for humans to grok in simpler (capture of the entire URI) cases. However, when there is a relation between your Condition and your original capture, it's nice to express it that way directly. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx