Apache and cgi-bin
I just upgraded from Debian 1.1 to pre-1.2. I tought it would
be nice to have packages dwww and info2www so I installed them.
But I just can't get Apache configured the way it could handle
cgi-scripts. I had some problems while installing it, but it
was finally installed without errors and it is running well,
except with cgi-scripts.
I didn't found much information about my problem form man pages
nor Apaches home page.
So when I'm no trying to read those indexed dwww-man-pages which all
I get is error message...
File Not found
The requested URL /cgi-bin/dwww was not found on this server.
Dpkg installed Dwww and info2www scripts as links to /usr/lib/httpd/cgi-bin.
In my /etc/apache/access.conf I have following lines, which might have
some connection with the problem.
# This should be changed to whatever you set Document-Root to.
Options Indexes FollowSymLinks ExecCGI
allow from all
# /usr/lib/httpd/cgi-bin should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
And in /etc/apache/httpd.conf
# User/Group: The name (or #number) of the user/group to run httpd as.
# On SCO (ODT 3) use User nouser and Group nogroup
LoadModule alias_module /usr/lib/apache/modules/mod_alias.so
LoadModule userdir_module /usr/lib/apache/modules/mod_userdir.so
LoadModule cgi_module /usr/lib/apache/modules/mod_cgi.so
LoadModule anon_auth_module /usr/lib/apache/modules/mod_auth_anon.so
LoadModule status_module /usr/lib/apache/modules/mod_status.so
LoadModule info_module '/usr/lib/apache/modules/mod_info.so'
LoadModule digest_module '/usr/lib/apache/modules/mod_digest.so'
LoadModule config_log_module /usr/lib/apache/modules/mod_log_config.so
LoadModule cookies_module '/usr/lib/apache/modules/mod_cookies.so'
LoadModule proxy_module /usr/lib/apache/modules/mod_proxy.so
# ScriptAlias: This controls which directories contain server scripts.
# Format: ScriptAlias fakename realname
ScriptAlias /cgi-bin/ /usr/lib/httpd/cgi-bin/
# To use CGI scripts:
AddHandler cgi-script .cgi
I've tried to change /cgi-bin/ directory to the DocumentRoot, and
changed configuration so that it should be there, but haven't had
I would appreciate if some one would kindly give any suggestion or
even post me the right and safe configuration to the cgi-bin stuff.
This message was delayed because the list mail delivery agent was down.