Bug #963
Subdirectories in authorizer mode
| Status: | Fixed | Start date: | ||
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | mod_fastcgi | |||
| Target version: | 1.4.21 | |||
| Missing in 1.5.x: |
Description
fastcgi in authorizer mode not working, when using subdirectories.
Fixing: in mod_fastcgi.c, line 3117 change con->uri.path to con->uri.path_raw
-- laszlo.farkas
History
#1 Updated by stbuehler over 4 years ago
- Status changed from New to Fixed
- Resolution set to worksforme
Couldn't find con->uri.path in the mentioned line, and this "fix" doesn't sound like a good idea (you shouldn't use path_raw). As a config/test example is missing and this bug is old, i will just close it.
Please provide more specific information if you reopen, thx.
#2 Updated by Anonymous over 4 years ago
- Status changed from Fixed to Need Feedback
- Resolution deleted (
worksforme)
line 3251: change con->uri.path to con->uri.path_raw
without it we have a recursive redirect
if we go to http://test/data/2008/ff/test.jpg
then we will redirect to http://test/data/2008
(/v0/data/2008/ff/test.jpg exists)
config example:
fastcgi.server = (
"/data/" =>
( "files" =>
(
"socket" => "/usr/local/wp/run/auth.sock",
"mode" => "authorizer",
"docroot" => "/v0",
"check-local" => "disable"
)
)
)
patch above solve this problem
#3 Updated by stbuehler over 4 years ago
- Status changed from Need Feedback to Fixed
- Resolution set to fixed
Fixed in r2324
Also available in: Atom