Anonymous | Login | Signup for a new account | 11-10-2008 11:12 PST |
Main | My View | View Issues | Change Log | Docs |
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 | ||||||||
|
Copyright © 2000 - 2006 Mantis Group |