BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001259 [BusyBox] Networking Support major always 03-05-07 02:56 03-05-07 11:25
Reporter landau View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.4.x
Summary 0001259: httpd can run interpreter only for files in /cgi-bin/
Description If compiled with ENABLE_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR (if not, the whole issue is not applicable), busybox's httpd executes the specifies interpreter only if the requested file is in /cgi-bin/.
This behavior is incorrect for many interpreted files, such as PHP.
If I write "*.php:/bin/php" in /etc/httpd.conf, I expect httpd to run /bin/php on any .php file anywhere in the document-root.
The /cgi-bin/ check is correct for regular CGI scripts.

The attached patch against 1.4.1 fixes the issue by checking whether there is a configured interpreter for the requested file, and if yes, runs it ignoring the /cgi-bin/ check.
Additional Information
Attached Files  httpd.patch [^] (843 bytes) 03-05-07 02:56

- Relationships

- Notes
(0002211)
vda
03-05-07 11:25

Fixed in revision 18010, thanks
 

- Issue History
Date Modified Username Field Change
03-05-07 02:56 landau New Issue
03-05-07 02:56 landau Status new => assigned
03-05-07 02:56 landau Assigned To  => BusyBox
03-05-07 02:56 landau File Added: httpd.patch
03-05-07 02:58 landau Issue Monitored: landau
03-05-07 11:25 vda Status assigned => closed
03-05-07 11:25 vda Note Added: 0002211
03-05-07 11:25 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker