-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK, sorry,

About this line again in conf-enabled/:

> root root 36 Mar 17 10:22 serve-cgi-bin.conf -> 
> ../conf-available/serve-cgi-bin.conf

It does not point into the void of course, but to 
conf-available/serve-cgi-bin.conf

on the same level of the file-system hierarchy:

$ pwd
/etc/apache2
$ ls -la conf-available
total 36
drwxr-xr-x 2 root root 4096 Apr  4 09:57 .
drwxr-xr-x 8 root root 4096 Apr  4 09:57 ..
- -rw-r--r-- 1 root root  315 Jul 21  2013 charset.conf
- -rw-r--r-- 1 root root  506 Jan 13 23:10 dwww.conf
- -rw-r--r-- 1 root root  127 Jul 29  2013 javascript-common.conf
- -rw-r--r-- 1 root root 3224 Jul 21  2013 localized-error-pages.conf
lrwxrwxrwx 1 root root   23 Mar 16 16:40 munin.conf -> ../../munin/apache.conf
- -rw-r--r-- 1 root root  189 Jul 21  2013 other-vhosts-access-log.conf
- -rw-r--r-- 1 root root 2190 Jul 21  2013 security.conf
- -rw-r--r-- 1 root root  455 Oct 27 18:36 serve-cgi-bin.conf

$ cat conf-available/serve-cgi-bin.conf
<IfModule mod_alias.c>
        <IfModule mod_cgi.c>
                Define ENABLE_USR_LIB_CGI_BIN
        </IfModule>

        <IfModule mod_cgid.c>
                Define ENABLE_USR_LIB_CGI_BIN
        </IfModule>

        <IfDefine ENABLE_USR_LIB_CGI_BIN>
                ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
                <Directory "/usr/lib/cgi-bin">
                        AllowOverride None
                        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                        Require all granted
                </Directory>
        </IfDefine>
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

This actually does look like it could be workable with both mod_cgi and mod_cgid

You see, I am still a beginner with webserver-configuration and with packaging 
in

general, too, but the safe way of doing

this is probably to add '# a2enmod cgi' as a postinstall-hook additionally to 
the

apache2-dependency, not making that symlink manually.

Hope this helps. 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlNKszsACgkQ5+rBHyUt5wuidwCgnSGY2a8qiFTBrG8mWLDVz6Xb
wnsAnjW5wIYelQYz+xciZ3Q4pkZpHQ9Q
=YX9U
-----END PGP SIGNATURE-----

Reply via email to