-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 root@s5:/etc/apache2# ls -l conf-enabled total 0 lrwxrwxrwx 1 root root 30 Mar 17 10:22 charset.conf -> ../conf-available/charset.conf lrwxrwxrwx 1 root root 27 Mar 17 10:26 dwww.conf -> ../conf-available/dwww.conf lrwxrwxrwx 1 root root 44 Mar 17 10:22 localized-error-pages.conf - -> ../conf-available/localized-error-pages.conf lrwxrwxrwx 1 root root 46 Mar 17 10:22 other-vhosts-access-log.conf -> ../conf-available/other-vhosts-access-log.conf lrwxrwxrwx 1 root root 31 Mar 17 10:22 security.conf -> ../conf-available/security.conf lrwxrwxrwx 1 root root 36 Mar 17 10:22 serve-cgi-bin.conf -> ../conf-available/serve-cgi-bin.conf
To be honest I do not understand, what '# a2enmod cgi' actually does, because this symlink : serve-cgi-bin.conf -> ../conf-available/serve-cgi-bin.conf should not be workable at all, because /etc/conf-available actually does not exist: > root@s5:/etc# ls -la > total 868 > drwxr-xr-x 157 root root 8192 Apr 12 10:11 . > drwxr-xr-x 22 root root 4096 Apr 12 09:52 .. > drwxr-xr-x 3 root root 50 Dec 27 12:02 acpi > -rw-r--r-- 1 root root 2981 Dec 27 12:00 adduser.conf > -rw-r--r-- 1 root root 44 Apr 12 10:12 adjtime > -rw-r--r-- 1 root root 199 Dec 27 14:12 aliases > drwxr-xr-x 2 root root 8192 Apr 4 09:42 alternatives > -rw-r--r-- 1 root root 401 May 22 2012 anacrontab > drwxr-xr-x 8 root root 4096 Apr 4 09:57 apache2 > -rw-r--r-- 1 root root 112 Jun 20 2007 apg.conf > drwxr-xr-x 3 root root 20 Dec 27 12:33 apm > drwxr-xr-x 4 root root 114 Apr 6 06:38 apparmor.d > drwxr-xr-x 6 root root 4096 Mar 26 14:12 apt > -rw-r----- 1 root daemon 144 Sep 8 2013 at.deny > drwxr-xr-x 2 root root 31 Jan 10 12:11 at-spi2 > drwxr-xr-x 3 root root 57 Dec 28 11:46 avahi > -rw-r--r-- 1 root root 1863 Mar 5 05:18 bash.bashrc > -rw-r--r-- 1 root root 45 Nov 5 00:12 bash_completion > drwxr-xr-x 2 root root 4096 Apr 4 09:57 bash_completion.d > -rw-r--r-- 1 root root 356 Jan 1 2012 bindresvport.blacklist > drwxr-xr-x 2 root root 6 Sep 23 2013 binfmt.d > drwxr-xr-x 2 root root 4096 Apr 6 06:39 blends > -rw-r--r-- 1 root root 430 Apr 12 09:52 blkid.tab > -rw-r--r-- 1 root root 430 Apr 12 09:49 blkid.tab.old > drwxr-xr-x 2 root root 132 Mar 12 11:18 bluetooth > -rw-r--r-- 1 root root 7439 Aug 13 2013 bogofilter.cf > drwxr-xr-x 2 root root 41 Dec 27 14:08 bonobo-activation > drwxr-xr-x 3 root root 21 Dec 27 12:23 ca-certificates > -rw-r--r-- 1 root root 7783 Mar 19 07:52 ca-certificates.conf > -rw-r--r-- 1 root root 7411 Dec 27 14:08 ca-certificates.conf.dpkg-old > drwxr-xr-x 2 root root 20 Dec 27 12:00 calendar > drwxr-s--- 2 root dip 42 Feb 2 15:13 chatscripts > drwxr-xr-x 2 root root 74 Mar 24 13:37 chromium > -rw-r--r-- 1 root root 1332 Jul 30 2013 colord.conf > drwxr-xr-x 5 root root 57 Dec 27 12:37 ConsoleKit > drwxr-xr-x 2 root root 4096 Dec 28 11:45 console-setup > drwxr-xr-x 2 root root 26 Feb 21 11:49 cracklib > drwxr-xr-x 2 root root 97 Mar 16 16:40 cron.d > drwxr-xr-x 2 root root 4096 Apr 8 13:42 cron.daily > drwxr-xr-x 2 root root 25 Dec 27 12:00 cron.hourly > drwxr-xr-x 2 root root 40 Dec 29 08:10 cron.monthly > -rw-r--r-- 1 root root 722 Jul 3 2012 crontab > drwxr-xr-x 2 root root 79 Mar 17 10:25 cron.weekly > drwxr-xr-x 5 root lp 4096 Apr 13 07:49 cups > drwxr-xr-x 2 root root 33 Mar 2 06:18 cupshelpers > drwxr-xr-x 4 root root 74 Apr 1 10:09 dbus-1 > -rw-r--r-- 1 root root 2969 Nov 3 19:20 debconf.conf > -rw-r--r-- 1 root root 11 May 5 2013 debian_version > drwxr-xr-x 3 root root 4096 Apr 10 19:34 default > -rw-r--r-- 1 root root 604 May 15 2012 deluser.conf > drwxr-xr-x 4 root root 83 Dec 27 12:00 dhcp > drwxr-xr-x 2 root root 76 Mar 31 08:17 dictionaries-common > drwxr-xr-x 2 root root 23 Dec 27 12:05 discover.conf.d > -rw-r--r-- 1 root root 346 Apr 6 2012 discover-modprobe.conf > drwxr-xr-x 3 root root 22 Dec 28 10:38 doc-base > drwxr-xr-x 4 root root 95 Jan 26 10:21 dpkg > -rw-r--r-- 1 root root 3095 Oct 22 11:18 drirc > drwxr-xr-x 2 root root 22 Mar 17 10:26 dwww > drwxr-xr-x 3 root root 25 Dec 27 12:20 emacs > -rw-r--r-- 1 root root 312 Nov 27 19:54 email-addresses > -rw-r--r-- 1 root root 0 Dec 27 11:59 environment > drwxr-xr-x 3 root root 94 Apr 8 13:42 exim4 > -rw-r--r-- 1 root root 508 Feb 17 12:24 exports > drwxr-xr-x 4 root root 53 Dec 27 14:07 fonts > drwxr-xr-x 2 root root 38 Dec 27 12:19 fonts.conf.d > drwxr-xr-x 2 root root 45 Apr 5 08:31 foomatic > -rw-r--r-- 1 root root 838 Jan 8 14:38 fstab > drwxr-xr-x 2 root root 6 Jul 3 2013 fstab.d > -rw-r----- 1 root fuse 280 Mar 10 2013 fuse.conf > -rw-r--r-- 1 root root 2584 Oct 10 2012 gai.conf > drwxr-xr-x 5 root root 65 Dec 27 12:25 gconf > drwxr-xr-x 6 root root 125 Dec 27 14:23 gdm3 > drwxr-xr-x 2 root root 25 Apr 10 19:34 geoclue > drwxr-xr-x 4 root root 38 Dec 27 12:38 ghostscript > drwxr-xr-x 3 root root 16 Dec 27 12:59 gimp > -rw-r--r-- 1 root root 5597 Sep 10 2013 gnashrc > -rw-r--r-- 1 root root 690 Sep 10 2013 gnashthumbnailrc > drwxr-xr-x 2 root root 48 Dec 27 14:21 gnome > drwxr-xr-x 3 root root 20 Dec 27 12:27 gnome-vfs-2.0 > -rw-r--r-- 1 root root 10852 Apr 4 2007 gnome-vfs-mime-magic > drwxr-xr-x 2 root root 45 Dec 27 14:21 GNUstep > drwxr-xr-x 2 root root 39 Jan 28 10:07 groff > -rw-r--r-- 1 root root 990 Apr 11 18:51 group > -rw------- 1 root root 975 Apr 10 19:34 group- > drwxr-xr-x 2 root root 4096 Dec 28 11:46 grub.d > -rw-r----- 1 root shadow 821 Apr 11 18:51 gshadow > -rw------- 1 root root 810 Apr 10 19:34 gshadow- > -rw-r--r-- 1 root root 834 Jun 8 2012 gssapi_mech.conf > drwxr-xr-x 2 root root 31 Apr 10 19:34 gtk-2.0 > drwxr-xr-x 2 root root 31 Apr 10 19:33 gtk-3.0 > -rw-r--r-- 1 root root 6748 Jul 9 2012 hddtemp.db > -rw-r--r-- 1 root root 4781 Nov 24 14:10 hdparm.conf > -rw-r--r-- 1 root root 9 Aug 7 2006 host.conf > -rw-r--r-- 1 root root 3 Dec 27 12:00 hostname > -rw-r--r-- 1 root root 292 Feb 28 15:27 hosts > -rw-r--r-- 1 root root 580 Dec 27 14:07 hosts.allow > -rw-r--r-- 1 root root 880 Dec 27 14:07 hosts.deny > drwxr-xr-x 3 root root 16 Dec 27 12:34 hotplug > drwxr-xr-x 2 root root 23 Jan 24 10:53 hp > drwxr-xr-x 3 root root 17 Dec 27 15:00 icedove > drwxr-xr-x 5 root root 51 Dec 27 15:22 iceweasel > -rw-r--r-- 1 root root 206 Jan 13 23:10 idmapd.conf > drwxr-xr-x 3 root root 21 Dec 27 13:14 ifplugd > drwxr-xr-x 2 root root 4096 Mar 10 08:10 ImageMagick > drwxr-xr-x 2 root root 4096 Apr 12 10:11 init > drwxr-xr-x 2 root root 4096 Apr 12 10:11 init.d > drwxr-xr-x 5 root root 108 Dec 27 12:01 initramfs-tools > -rw-r--r-- 1 root root 2008 Jul 16 2013 inittab > -rw-r--r-- 1 root root 1721 Dec 30 2012 inputrc > drwxr-xr-x 3 root root 22 Dec 27 11:57 insserv > -rw-r--r-- 1 root root 859 Nov 23 2012 insserv.conf > drwxr-xr-x 2 root root 31 Feb 26 09:21 insserv.conf.d > drwxr-xr-x 2 root root 116 Feb 18 06:57 iproute2 > drwxr-xr-x 2 root root 24 Dec 27 11:51 iscsi > -rw-r--r-- 1 root root 35 May 6 2013 issue > -rw-r--r-- 1 root root 28 May 6 2013 issue.net > drwxr-xr-x 3 root root 25 Dec 27 14:08 .java > drwxr-xr-x 5 root root 4096 Apr 7 08:13 java-7-openjdk > drwxr-xr-x 2 root root 31 Dec 27 12:02 kbd > drwxr-xr-x 10 root root 4096 Dec 30 12:00 kernel > -rw-r--r-- 1 root root 144 Dec 27 14:43 kernel-img.conf > -rw-r--r-- 1 root root 917 Feb 17 2009 kernel-pkg.conf > drwxr-xr-x 2 root root 22 Mar 31 08:13 ldap > -rw-r--r-- 1 root root 115653 Apr 12 10:11 ld.so.cache > -rw-r--r-- 1 root root 34 Dec 27 11:58 ld.so.conf > drwxr-xr-x 2 root root 120 Mar 10 07:08 ld.so.conf.d > -rw-r--r-- 1 root root 26 Jun 2 2012 libao.conf > -rw-r--r-- 1 root root 191 Aug 29 2013 libaudit.conf > drwxr-xr-x 2 root root 33 Dec 27 14:10 libnl-3 > drwxr-xr-x 2 root root 6 May 4 2012 libpaper.d > drwxr-xr-x 2 root root 58 Mar 16 18:35 libreoffice > drwxr-xr-x 2 root root 89 Mar 31 08:18 lightdm > drwxr-xr-x 4 root root 46 Dec 27 14:19 lighttpd > -rw-r--r-- 1 root root 2492 Mar 2 16:11 locale.alias > -rw-r--r-- 1 root root 8854 Mar 10 07:08 locale.gen > -rw-r--r-- 1 root root 2309 Apr 7 08:04 localtime > drwxr-xr-x 4 root root 52 Dec 27 12:37 logcheck > -rw-r--r-- 1 root root 10185 May 25 2012 login.defs > -rw-r--r-- 1 root root 599 Feb 19 2009 logrotate.conf > drwxr-xr-x 2 root root 4096 Apr 8 13:42 logrotate.d > -r--r--r-- 1 root root 33 Dec 27 14:21 machine-id > -rw-r--r-- 1 root root 111 May 20 2013 magic > -rw-r--r-- 1 root root 111 May 20 2013 magic.mime > drwxr-xr-x 2 root root 25 Dec 27 15:04 mail > -rw-r--r-- 1 root root 53111 Apr 12 10:10 mailcap > -rw-r--r-- 1 root root 449 May 11 2013 mailcap.order > -rw-r--r-- 1 root root 9 Apr 8 13:42 mailname > -rw-r--r-- 1 root root 125 Oct 6 2013 mail.rc > -rw-r--r-- 1 root root 5173 Jun 28 2013 manpath.config > drwxr-xr-x 2 root root 19 Dec 27 13:59 menu > drwxr-xr-x 2 root root 85 Dec 27 14:19 menu-methods > -rw-r--r-- 1 root root 23922 May 11 2013 mime.types > -rw-r--r-- 1 root root 956 Jun 21 2013 mke2fs.conf > drwxr-xr-x 2 root root 107 Mar 26 14:34 modprobe.d > -rw-r--r-- 1 root root 248 Dec 27 12:00 modules > drwxr-xr-x 2 root root 49 Apr 5 08:44 modules-load.d > drwxr-xr-x 5 root root 68 Apr 7 08:16 mono > -rw-r--r-- 1 root root 286 May 6 2013 motd > lrwxrwxrwx 1 root root 12 Dec 27 14:45 mtab -> /proc/mounts > drwxr-xr-x 7 root root 4096 Mar 24 14:38 munin > -rw-r--r-- 1 root root 4565 Sep 13 2013 Muttrc > drwxr-xr-x 2 root root 95 Mar 22 08:59 Muttrc.d > -rw-r--r-- 1 root root 8453 Jun 22 2012 nanorc > -rw-r--r-- 1 root root 767 May 2 2011 netconfig > drwxr-xr-x 7 root root 121 Dec 27 12:00 network > drwxr-xr-x 5 root root 86 Apr 8 13:42 NetworkManager > -rw-r--r-- 1 root root 60 Dec 27 12:00 networks > drwxr-xr-x 2 root root 43 Feb 21 11:49 newt > -rw-r--r-- 1 root root 513 Dec 27 14:19 nsswitch.conf > -rw-r--r-- 1 root root 1988 May 20 2013 ntp.conf > drwxr-xr-x 2 root root 58 Dec 27 14:14 obex-data-server > drwxr-xr-x 2 root root 24 Dec 27 14:09 openal > drwxr-xr-x 2 root root 6 Dec 27 11:57 opt > -rw-r--r-- 1 root root 214 May 6 2013 os-release > drwxr-xr-x 3 root root 59 Apr 6 06:39 PackageKit > -rw-r--r-- 1 root root 552 Jul 22 2008 pam.conf > drwxr-xr-x 2 root root 4096 Apr 6 06:38 pam.d > -rw-r--r-- 1 root root 3 Dec 27 14:07 papersize > -rw-r--r-- 1 root root 2002 Apr 11 18:51 passwd > -rw------- 1 root root 1961 Apr 10 19:34 passwd- > drwxr-xr-x 5 root root 37 Dec 27 14:12 perl > drwxr-xr-x 5 root root 49 Dec 27 12:47 pm > -rw-r--r-- 1 root root 7649 Mar 12 11:19 pnm2ppa.conf > drwxr-xr-x 5 root root 80 Dec 27 12:37 polkit-1 > drwxr-xr-x 7 root root 4096 Feb 2 15:13 ppp > lrwxrwxrwx 1 root root 22 Apr 6 06:38 printcap -> > /var/run/cups/printcap > drwxr-xr-x 3 root root 4096 Mar 30 14:00 privoxy > -rw-r--r-- 1 root root 851 Jul 29 2011 profile > drwxr-xr-x 2 root root 44 Mar 31 08:13 profile.d > -rw-r--r-- 1 root root 2932 Apr 2 2013 protocols > drwxr-xr-x 2 root root 75 Dec 27 14:16 pulse > drwxr-xr-x 2 root root 22 Feb 9 07:43 purple > -rw------- 1 root root 0 Dec 27 11:59 .pwd.lock > drwxr-xr-x 2 root root 26 Dec 27 14:09 python > drwxr-xr-x 2 root root 29 Mar 31 08:13 python2.7 > drwxr-xr-x 2 root root 26 Dec 27 14:21 python3 > drwxr-xr-x 2 root root 29 Mar 31 08:13 python3.3 > drwxr-xr-x 2 root root 31 Apr 11 13:34 qemu > -rwxr-xr-x 1 root root 163 Jul 31 2013 qemu-ifdown > -rwxr-xr-x 1 root root 1148 Jan 16 12:32 qemu-ifup > drwxr-xr-x 2 root root 109 Mar 17 09:49 R > drwxr-xr-x 2 root root 4096 Apr 8 13:16 rc0.d > drwxr-xr-x 2 root root 4096 Mar 17 10:22 rc1.d > drwxr-xr-x 2 root root 4096 Mar 17 10:22 rc2.d > drwxr-xr-x 2 root root 4096 Mar 17 10:22 rc3.d > drwxr-xr-x 2 root root 4096 Mar 17 10:22 rc4.d > drwxr-xr-x 2 root root 4096 Mar 17 10:22 rc5.d > drwxr-xr-x 2 root root 4096 Apr 8 13:16 rc6.d > -rwxr-xr-x 1 root root 306 Dec 27 11:59 rc.local > drwxr-xr-x 2 root root 4096 Apr 8 13:16 rcS.d > -rw-r--r-- 1 root root 3173 Mar 12 2013 reportbug.conf > drwxr-xr-x 2 root root 29 Mar 2 06:18 request-key.d > drwxr-xr-x 3 root root 26 Dec 27 12:34 resolvconf > -rw-r--r-- 1 root root 143 Jan 15 16:16 resolv.conf > -rwxr-xr-x 1 root root 268 Aug 16 2013 rmt > -rw-r--r-- 1 root root 887 Apr 2 2013 rpc > -rw-r--r-- 1 root root 2632 Sep 4 2013 rsyslog.conf > drwxr-xr-x 2 root root 6 Sep 4 2013 rsyslog.d > -rw-r--r-- 1 root root 5078 Oct 17 21:35 rygel.conf > drwxr-xr-x 3 root root 49 Mar 19 07:52 samba > drwxr-xr-x 3 root root 4096 Jan 30 09:30 sane.d > -rw-r--r-- 1 root root 3964 May 25 2012 securetty > drwxr-xr-x 4 root root 4096 Feb 19 07:06 security > drwxr-xr-x 2 root root 26 Dec 27 11:58 selinux > -rw-r--r-- 1 root root 10344 Aug 27 2013 sensors3.conf > drwxr-xr-x 2 root root 25 Apr 12 10:11 sensors.d > -rw-r--r-- 1 root root 19558 Dec 30 04:45 services > drwxr-xr-x 3 root root 125 Dec 27 14:21 sgml > -rw-r----- 1 root shadow 1656 Apr 11 18:51 shadow > -rw------- 1 root root 1531 Apr 10 19:34 shadow- > -rw-r--r-- 1 root root 73 Dec 27 11:59 shells > drwxr-xr-x 2 root root 54 Apr 4 09:42 skel > drwxr-xr-x 3 root root 19 Dec 27 13:34 sound > drwxr-xr-x 3 root root 154 Feb 26 09:22 spamassassin > drwxr-xr-x 4 root root 53 Mar 31 08:12 speech-dispatcher > drwxr-xr-x 2 root root 63 Mar 2 14:34 squid3 > drwxr-xr-x 2 root root 36 Apr 6 06:39 ssh > drwxr-xr-x 4 root root 50 Apr 10 19:34 ssl > -rw-r--r-- 1 root root 771 Jun 9 2012 staff-group-for-usr-local > -r--r----- 1 root root 721 Apr 12 08:54 sudoers > drwxr-xr-x 2 root root 19 Feb 15 08:21 sudoers.d > -rw-r--r-- 1 root root 2084 Apr 1 2013 sysctl.conf > drwxr-xr-x 2 root root 48 Mar 5 07:59 sysctl.d > drwxr-xr-x 5 root root 141 Mar 26 14:34 systemd > drwxr-xr-x 2 root root 19 Feb 1 14:48 terminfo > drwxr-xr-x 3 root root 18 Dec 27 12:32 texmf > -rw-r--r-- 1 root root 14 Apr 7 08:04 timezone > drwxr-xr-x 2 root root 25 Dec 27 14:14 timidity > drwxr-xr-x 2 root root 6 Sep 23 2013 tmpfiles.d > -rw-r--r-- 1 root root 645 Mar 24 2012 ts.conf > -rw-r--r-- 1 root root 1260 Jul 1 2013 ucf.conf > drwxr-xr-x 4 root root 66 Mar 26 14:34 udev > drwxr-xr-x 2 root root 6 Aug 30 2013 udisks2 > drwxr-xr-x 3 root root 27 Mar 2 14:33 ufw > -rw-r--r-- 1 root root 279 Jun 13 2013 updatedb.conf > drwxr-xr-x 2 root root 24 Apr 5 08:28 UPower > -rw-r--r-- 1 root root 888 Apr 1 13:40 usb_modeswitch.conf > drwxr-xr-x 2 root root 6 Nov 25 10:57 usb_modeswitch.d > -rw-r--r-- 1 root root 51 Aug 15 2013 vdpau_wrapper.cfg > drwxr-xr-x 2 root root 35 Apr 3 12:08 vim > drwxr-xr-x 2 root root 33 Jan 14 08:29 w3m > -rw-r--r-- 1 root root 4812 Jan 20 20:32 wgetrc > drwxr-xr-x 2 root root 25 Apr 10 19:34 wildmidi > drwxr-xr-x 2 root root 63 Feb 26 09:22 wpa_supplicant > drwxr-xr-x 10 root root 4096 Apr 7 08:14 X11 > drwxr-xr-x 9 root root 146 Dec 29 14:56 xdg > drwxr-xr-x 2 root root 26 Jan 24 10:53 xfce4 > drwxr-xr-x 2 root root 4096 Feb 15 08:21 xml > drwxr-xr-x 2 root root 34 Feb 14 11:24 xpdf > drwxr-xr-x 2 root root 46 Apr 5 08:10 xul-ext So I think, I should not recommend to include that symlink _and_ the dependency on apache2 in the dwww-package in order to get the full funcionality by default. a2enmod selected mod_cgid instead of mod_cgi, because Apache2 is threaded by default in Debian, but there might be custom setups with non-threaded Apaches, where the included symlink would not work. > > > On Sat, 29 Mar 2014 22:21:58 +0100 > Stefan Fritsch <s...@sfritsch.de> wrote: > > > Am Montag, 17. März 2014, 11:19:47 schrieb Andreas Glaeser: > > > * today I tried out man2html and dwww, both depend on httpd-cgi > > > * missing cgi-bin interface leads to broken man2html: > > > * 'http://localhost/cgi-bin/man/man2html' in Midori produced: > > > ### > > > Not Found > > > > apache2-bin does provide httpd-cgi. However that does not mean that no > > configuration is necessary. I don't know man2html or dwww, but it's > > quite possible that enabling mod_cgi (a2enmod cgi) and restarting is > > all that is necessary. > > > > > > > > > > dhelp and man2 html was the easyest way to set up a workable usable local > apache-server, > I think. > With dwww it is quite similar and # a2enmod cgi is in fact sufficient to > enable mod_cgi, > i.e. mod_cgid by default, becuase debian has a threaded apache. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlNKNK8ACgkQ5+rBHyUt5wsZNgCgqxVU4tYVCfe24OBTjRGEyELP hPYAoIJ67ElgO2v0FluB8WPEaAwltLbo =dfI+ -----END PGP SIGNATURE-----