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

Bug#763582: apache2: Apache2 cannot run CGI scripts in "jessie"



Package: apache2
Version: 2.4.10-5
Followup-For: Bug #763582

Dear Maintainer,

I upgraded from wheezy to jessie and now my Perl-based CGI scripts don't work.
I followed many suggestions to improve and upgrade my config and finally came
up with the following content in my sites-enabled/my_home.conf file:

# allow CGI scripts for user rja
ScriptAlias /~rja/cgi-bin/ "/home/rja/public_html/cgi-bin/"
<Directory "/home/rja/public_html/cgi-bin/">
    AddHandler cgi-script .cgi .pl
    AllowOverride None
    Options +SymLinksIfOwnerMatch +ExecCGI
    Require all granted
</Directory>

Unfortunately, CGI scripts are still not executed: the browser always
downloads/shows the plain source code of the script.

mod_cgid and mod_perl are both installed and enabled.

This seems to be related to this bug, I hope it's not a configuration error on
my side.



-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2 depends on:
ii  apache2-bin    2.4.10-5
ii  apache2-data   2.4.10-5
ii  apache2-utils  2.4.10-5
ii  lsb-base       4.1+Debian13
ii  mime-support   3.57
ii  perl           5.20.1-2
ii  procps         2:3.3.9-8

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.35

Versions of packages apache2 suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  epiphany-browser [www-browser]                   3.12.1-1
ii  iceweasel [www-browser]                          31.1.0esr-1
ii  lynx-cur [www-browser]                           2.8.9dev1-2
ii  w3m [www-browser]                                0.5.3-17

Versions of packages apache2-bin depends on:
ii  libapr1                  1.5.1-3
ii  libaprutil1              1.5.4-1
ii  libaprutil1-dbd-sqlite3  1.5.4-1
ii  libaprutil1-ldap         1.5.4-1
ii  libc6                    2.19-11
ii  libldap-2.4-2            2.4.40-2
ii  liblua5.1-0              5.1.5-7.1
ii  libpcre3                 1:8.35-3.1
ii  libssl1.0.0              1.0.1j-1
ii  libxml2                  2.9.1+dfsg1-4
ii  perl                     5.20.1-2
ii  zlib1g                   1:1.2.8.dfsg-2

Versions of packages apache2-bin suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  epiphany-browser [www-browser]                   3.12.1-1
ii  iceweasel [www-browser]                          31.1.0esr-1
ii  lynx-cur [www-browser]                           2.8.9dev1-2
ii  w3m [www-browser]                                0.5.3-17

Versions of packages apache2 is related to:
ii  apache2      2.4.10-5
ii  apache2-bin  2.4.10-5

-- no debconf information


Reply to: