Project

General

Profile

Actions

Bug #963

closed

Subdirectories in authorizer mode

Added by Anonymous almost 18 years ago. Updated about 16 years ago.

Status:
Fixed
Priority:
High
Category:
mod_fastcgi
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by stbuehler about 16 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.

Actions #2

Updated by Anonymous about 16 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

Actions #3

Updated by stbuehler about 16 years ago

  • Status changed from Need Feedback to Fixed
  • Resolution set to fixed

Fixed in r2324

Actions

Also available in: Atom