Project

General

Profile

Actions

Bug #859

closed

no PATH_INFO when using mod_cgi

Added by Anonymous over 17 years ago. Updated about 8 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_cgi
Target version:
-
ASK QUESTIONS IN Forums:

Description

lighttpd does not set PATH_INFO at all when using mod_cgi.

This required by the CGI spec, and breaks some web frameworks (eg: CGI::Application).

I am testing on Mac OS X, but this will probably not matter.

-- jimmy

Actions #1

Updated by Anonymous over 15 years ago

This is still the case for 1.4.19, unfortunately. I will try to fix it.

Actions #2

Updated by Anonymous over 15 years ago

After digging around in the sources I think I'll better leave it as is. Especially considering that for my purposes I had to use handle_physical instead of handle_subrequest_start, which further complicates the matter. However, it definitely needs fixing. I'll use SCRIPT_NAME for now.

-- spb_nick (former anonymous)

Actions #3

Updated by gstrauss about 8 years ago

  • Description updated (diff)
  • Status changed from New to Invalid

PATH_INFO is determined before the handle_subrequest_start hook and is available in mod_cgi.

If you are still seeing an issue, please provide more details on how to reproduce it.

Actions

Also available in: Atom