Bug#580443: apache2: cgi-bin scripts 404 error
Package: apache2.2-common
Version: 2.2.15-5
Severity: important
Tags: sid
Cannot get apache to find path to cgi-bin scripts. I've set permissions to 777 on the relevant directories. The absolute path to cgi-bin is /var/www/cgi-bin.
Here is my current config for ScriptAlias, which is has almost exactly the same syntax as the 000-default example for ScriptAlias.
I have also tried multiple variations of syntax such as dropping, or adding, trailing slashes where they now exist, using the exact syntax from the apache2 docs, etc...
The url that fails is http://localhost/billybob/cgi-bin/python.py. Site name is billybob.
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory "/var/www/cgi-bin">
Options +ExecCGI +Indexes +MultiViews +FollowSymlinks
Order allow,deny
Allow from all
AddHandler cgi-script .py
</Directory>
-- Package-specific info:
List of enabled modules from 'apache2 -M':
alias auth_basic authn_file authz_default authz_groupfile
authz_host authz_user cgi cgid deflate dir env jk mime negotiation
php5 python reqtimeout setenvif status
List of enabled php5 extensions:
pdo pdo_pgsql pgsql suhosin
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apache2 depends on:
ii apache2-mpm-prefork 2.2.15-5 Apache HTTP Server - traditional n
ii apache2.2-common 2.2.15-5 Apache HTTP Server common files
apache2 recommends no packages.
apache2 suggests no packages.
Versions of packages apache2.2-common depends on:
ii apache2-utils 2.2.15-5 utility programs for webservers
ii apache2.2-bin 2.2.15-5 Apache HTTP Server common binary f
ii libmagic1 5.04-2 File type determination library us
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii perl 5.10.1-12 Larry Wall's Practical Extraction
ii procps 1:3.2.8-8 /proc file system utilities
-- no debconf information
Reply to: