[Bug 274580] New: thttpd won't run CGI programs
https://bugzilla.novell.com/show_bug.cgi?id=274580 Summary: thttpd won't run CGI programs Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: madworm_de.novell@spitzenpfeil.org QAContact: qa@suse.de I've tried to run nagios-www. it automatically installed thttpd. after reading the man-page, consulting a wiki which supplied a little c-routine which could be compiled to a cgi program (worked at the console) and trying other perl scripts I always ended with the dreaded "internal server error", ERROR 500. the cgi-pattern was set according to the manual. deliberately ignoring that setting, thttpd complained about finding an executable which was not set as an cgi routine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274580 madworm_de.novell@spitzenpfeil.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|thttpd won't run CGI |thttpd won't run CGI programs <--> nagios-www |programs |dep. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274580 judas_iscariote@shorewall.net changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |anicka@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274580 ------- Comment #1 from madworm_de.novell@spitzenpfeil.org 2007-05-16 02:00 MST ------- Not willing to install a full blown-apache setup I tested nagios-www with 'lighttpd', which is also part of opensuse, and it worked. As expected some adjustment to the config-files is necessary. Maybe cgi-support in thttpd is broken. Couldn't get a conclusive answer to that using google. There aren't too many options to enable cgi-support in thttpd, so I guess I got all of them. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274580 ------- Comment #2 from pcerny@novell.com 2007-05-21 11:15 MST ------- Have you disables thttpd chrooting? As chrooting is compiled-in default either use "-nor" option on command line or "nochroot" in configuration file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=274580 madworm_de.novell@spitzenpfeil.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from madworm_de.novell@spitzenpfeil.org 2007-05-21 18:59 MST ------- the binary I used for testing was not compiled statically, so it couldn't run. it was a chroot issue. solved. I strongly suggest that as thttpd is installed via dependencies for the nagios-www package this chroot issue should be addressed somehow. thttpd comes with init.d scripts and no config-file to be found. I just don't expect having to manipulate init.d scripts for config-options. There should be a commented config-file just like with apache or lighttpd that addresses the most common errors made - like in this case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com