[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#580443: marked as done (apache2: cgi-bin scripts 404 error)



Your message dated Thu, 29 Jul 2010 19:24:42 +0200
with message-id <201007291924.43051.sf@sfritsch.de>
and subject line Re: Bug#580443: apache2: cgi-bin scripts 404 error
has caused the Debian Bug report #580443,
regarding apache2: cgi-bin scripts 404 error
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
580443: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580443
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
The bug tracking system is for bugs, not for support requests. Please 
write to some user support list like the those listed on 
http://httpd.apache.org/lists.html#http-users or debian-
user@lists.debian.org or debian-isp@lists.debian.org.

Probably you are missing a /billybob/ in your ScriptAlias

ScriptAlias /billybob/cgi-bin/ /var/www/cgi-bin/

On Thursday 06 May 2010, Gary Koskenmaki wrote:
> 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>


--- End Message ---

Reply to: