httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif W" <warp-...@usa.net>
Subject Re: [users@httpd] RewriteRule - if Not
Date Sat, 04 Dec 2004 17:11:37 GMT
> Andrew M, Saturday, December 04, 2004 12:02
>
> RewriteRule ^/(.register | confirmStage)\.(xml)$
> http://%{SERVER_NAME}$1.$2 [R]
>
> The first 2 lines work fine, but the last one does not. What am I
doing
> wrong?

I know ^ is the beginning of line marker in a regular expression, not a
negation character.  I believe !is the negation character.  Read the
manual about rewriting, especially the rewriting guide.

http://your-favorite-mirror/manual/misc/rewriteguide.html

Leif




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