Bug #80
closedmod_proxy + indexfiles == bug
Description
I have
server.indexfiles = { "index.rpy", .... }
and
proxy.server = ( ".rpy" => ...
If I type http://myhost/foobar/
and I have index.rpy in foobar it isn't proye'd, it's managed by lighttpd instead...
It should be exactly the same as if the user type http://myhost/foobar/index.rpy
-- fab
Updated by Anonymous almost 18 years ago
Same error in 1.5.x svn 1811 too
-- boom
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
Proxy does not handle physical files, only urls. use mod_rewrite instead of indexfiles, or trigger proxy on something else.
Updated by gstrauss over 1 year ago
- Description updated (diff)
- Category changed from core to mod_indexfile
- Status changed from Wontfix to Invalid
- Priority changed from High to Low
- ASK QUESTIONS IN Forums set to No
One proper solution:
Rewrite requests to directories (ending in /
) to .../index.rpy
url.rewrite = ("/$" => "$0index.rpy")
and then keepproxy.server = ( ".rpy" => ... )
It should be exactly the same as if the user type http://myhost/foobar/index.rpy
No. After modules such as mod_proxy have had a chance to decide whether or not to handle the request, if mod_indexfile tries to handle the request in the filesystem, mod_indexfile checks the filesystem for files configured in index-file.names
Also available in: Atom