Bug 250950
| Summary: | boa: DEBUG_CGI_ENV doesn't print the environment variables | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jose Pedro Oliveira <jose.p.oliveira.oss> | ||||
| Component: | boa | Assignee: | Matthias Saou <matthias> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | boa-0.94.14-0.7.rc21.fc8 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-08-11 18:34:15 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jose Pedro Oliveira
2007-08-06 00:57:52 UTC
Created attachment 160722 [details]
cgi.c patch - prints the environment variables and respective values
Without the previous patch the following output would appear in the error_log (note: only one line) ---------- [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] [05/Aug/2007:22:49:16 +0000] cgi.c - environment variable for cgi: "(null)" ---------- The output produced with the patch is the following: (one line for each environment variable) ---------- [06/Aug/2007:02:06:43 +0000] cgi.c - environment variable for cgi: "PATH=" [06/Aug/2007:02:06:43 +0000] cgi.c - environment variable for cgi: "SERVER_SOFTWARE=Boa/0.94.14rc21" [06/Aug/2007:02:06:43 +0000] cgi.c - environment variable for cgi: "SERVER_NAME=localhost.localdomain" [06/Aug/2007:02:06:43 +0000] cgi.c - environment variable for cgi: "GATEWAY_INTERFACE=CGI/1.1" [06/Aug/2007:02:06:43 +0000] cgi.c - environment variable for cgi: "SERVER_PORT=80" [06/Aug/2007:02:06:43 +0000] cgi.c - environment variable for cgi: "SERVER_ADMIN=root@localhost" ... ---------- Good catch! I've applied your patch to the devel branch and rebuilt the package. I don't think it's worth issuing an F7 update for this, though. And also, have you tried lighttpd? It has much better CGI/FastCGI support than boa IMHO. (In reply to comment #3) > Good catch! I've applied your patch to the devel branch and rebuilt the package. Thanks Matthias. > I don't think it's worth issuing an F7 update for this, though. Good enough. > And also, have > you tried lighttpd? It has much better CGI/FastCGI support than boa IMHO. I'll give it a try although it appears to be a little overkill for what I want: I just need a small footprint web server for a ARM based embedded system (Flash: 8MB). |