Bug#263038: apache2-mpm-prefork: cgi-bin doesn't seem to work
Package: apache2-mpm-prefork
Version: 2.0.50-6
Severity: important
None of my perl executables in /usr/lib/cgi-bin seem to work anymore.
They were working fine until the last upgrade.
To be sure, I wrote the following simple Perl program (taken from
http://httpd.apache.org/docs-2.0/howto/cgi.html) and called it
first.pl and placed it inside /usr/lib/cgi-bin/
=================
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, World.";
=================
$ ls -l /usr/lib/cgi-bin/first.pl
-rwxr-xr-x 1 root root 76 2004-07-31 00:35 first.pl
Relevant portion from my conf files:
httpd.conf: ScriptAlias /awstats/ /usr/lib/cgi-bin/
I haven't changed any configuration since last upgrade.
On pointing my browser to /awstats/first.pl, the browser tries to
download the perl file, instead of showing the output as HTML.
What gives?
TIA
Diwaker
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages apache2-mpm-prefork depends on:
ii apache2-common 2.0.50-6 Next generation, scalable, extenda
ii libapr0 2.0.50-6 The Apache Portable Runtime
ii libc6 2.3.2.ds1-14 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libldap2 2.1.30-3 OpenLDAP libraries
ii libssl0.9.7 0.9.7d-5 SSL shared libraries
ii zlib1g 1:1.2.1.1-5 compression library - runtime
-- no debconf information
Reply to: