Hello, 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. <Directory /home/www-data/webspace> Options Indexes FollowSymLinks ExecCGI AllowOverride None order allow,deny allow from all </Directory> # /usr/lib/httpd/cgi-bin should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. <Directory /usr/lib/httpd/cgi-bin> AllowOverride None </Directory> 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 User www-data Group www-data 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 And /etc/apache/srm.conf DocumentRoot /home/www-data/webspace # 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 any luck. 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. cheers, -- This message was delayed because the list mail delivery agent was down.