Bug#263038: apache2-mpm-prefork: cgi-bin doesn't seem to work

2004-08-10 Thread Thom May
I imagine it was related to cgi changing to being built-in and then back
again.
just a2enmoding the cgi module should fix your problems.
-Thom
* Diwaker Gupta ([EMAIL PROTECTED]) wrote :
 Turns out it wasn't a bug with apache2 after all (maintainer you can as 
 well go ahead and close this bug).
 
 Unfortunately, I'm not sure how I fixed the problem, but you might want 
 to try these steps:
 
 o use a2dismod to disable the cgi module, and a2end to re-enable it
 o restart apache
 o flush your browser cache completely and try again
 
 Lemme know if you get it working. If not, I'll try to dig in deeper into 
 what I did.
 
 HTH
 Diwaker
 
 Nathan Kroll wrote:
 I'm having the same problem on our webservers.  Any insight or
 workarounds to fix this temporarily?
 
 Thanks.
 
 
 -- 
 Diwaker Gupta
 Graduate Student, Computer Sc. and Engg.
 University of California, San Diego
 http://resolute.ucsd.edu/diwaker
 
 




Bug#263038: apache2-mpm-prefork: cgi-bin doesn't seem to work

2004-08-09 Thread Nathan Kroll
I'm having the same problem on our webservers.  Any insight or
workarounds to fix this temporarily?

Thanks.




Bug#263038: apache2-mpm-prefork: cgi-bin doesn't seem to work

2004-08-09 Thread Diwaker Gupta
Turns out it wasn't a bug with apache2 after all (maintainer you can as 
well go ahead and close this bug).

Unfortunately, I'm not sure how I fixed the problem, but you might want 
to try these steps:

o use a2dismod to disable the cgi module, and a2end to re-enable it
o restart apache
o flush your browser cache completely and try again
Lemme know if you get it working. If not, I'll try to dig in deeper into 
what I did.

HTH
Diwaker
Nathan Kroll wrote:
I'm having the same problem on our webservers.  Any insight or
workarounds to fix this temporarily?
Thanks.

--
Diwaker Gupta
Graduate Student, Computer Sc. and Engg.
University of California, San Diego
http://resolute.ucsd.edu/diwaker



Bug#263038: apache2-mpm-prefork: cgi-bin doesn't seem to work

2004-08-02 Thread Diwaker Gupta
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.24.2.52-16Berkeley v4.2 Database Libraries [
ii  libexpat1   1.95.6-8 XML parsing C library - runtime li
ii  libldap22.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