On Fri, Jan 23, 2009 at 11:47:50AM -0700, Aaron wrote:
No… We have MANY directories and I need a rewrite rule that will work
for all subdirectories as well as the root without having to specify
the location for each directory.
If only “location /” matches /directory/, then it should work.
Also you may set
rewrite ^(.*)/afv-(.*)-(.*)$ $1/$3 last;
on server level, then it will work for all locations.
No… We have MANY directories and I need a rewrite rule that will work
for all subdirectories as well as the root without having to specify
the location for each directory.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.