httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] mod_rewrite tricky problem
Date Thu, 22 Apr 2004 20:36:27 GMT

On Thu, 22 Apr 2004, Alexis Huxley wrote:

> 	RewriteEngine  on
> 	RewriteBase    /~user/
> 	RewriteRule    ^STABLE/(.*)$  $1 [R=permanent]
> 	RewriteRule    ^((?!STABLE\/).*)$  STABLE/$1

These types of problems are solved by activating the RewriteLog and seeing
what is actually going on.

Just guessing, but I suspect that some combination of "L" for "Last" and
"NS" for "No Subrequest" is needed in the first RewriteRule's options
list.

Joshua.

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