On 18 Dec 2009, at 13:38, William Wueppelmann wrote:
I have the following rules configured for my virtual host in apache:
RewriteCond %{REQUEST_URI} !^/foo/bar
RewriteRule ^/(.*)$ /foo/bar/$1 [PT]
Alias / /Path/To/MyApp/script/myapp_fastcgi.pl/
In other words, I want a request to http://myserver/ to be rewritten
as /foo/bar, a request for http://myserver/baz to become /foo/bar/
baz, and so forth. I want all requests going through this server to
automagically and quietly prepend "foo/bar/" to the request path,
giving access to a sub part of the application as a whole.
Someone else was trying to get this working as you wanted today, and
was kind enough to submit a load of sets of env and request dumps and
try out my suggestions.
There is now a patch in trunk[1] which should make things work like
you expect in this case.
Can you have a go with that and see if it also does what you wanted?
Cheers
t0m
[1]: http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.80/trunk/
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/