Okay, I am running Mandrake Linux 8.0 with Apache-AdvancedExtranetServer/1.3.23 Server. I cannot get a single CGI script to run. Here are the related directives on the Apache server:
[blue][tt]User apache /etc/httpd/conf/commonhttpd.conf (3)
Group apache /etc/httpd/conf/commonhttpd.conf (4)
<IfModule mod_alias> /etc/httpd/conf/commonhttpd.conf (193)
Alias /icons/ /var/ /etc/httpd/conf/commonhttpd.conf (200)
Alias /doc /usr/share/doc /etc/httpd/conf/commonhttpd.conf (201)
ScriptAlias /cgi-bin/ /var/ /etc/httpd/conf/commonhttpd.conf (212)
ScriptAlias /protected-cgi-bin/ /var/ /etc/httpd/conf/commonhttpd.conf (213)
</IfModule> /etc/httpd/conf/commonhttpd.conf (225)
AddHandler cgi-script .cgi /etc/httpd/conf/commonhttpd.conf (433)[/tt][/blue]
here are the permissions for /var/[blue][tt]
drwxr-xr-x 2 root root 4096 Apr 27 08:27 cgi-bin/
drwxr-xr-x 4 root root 4096 Apr 8 19:22 html/
drwxr-xr-x 3 root root 4096 Apr 8 19:15 icons/
drwxr-xr-x 2 root root 4096 Apr 8 19:16 perl/[/tt][/blue]
Here is the permissions for the script I am trying to run:
[blue][tt]-rwxr-xr-x 1 root root 268 Mar 5 2002 printenv.cgi*[/tt][/blue]
When I try to view in a browser I receive:
[red][tt]403 forbidden
You don't have permission to access /cgi-bin/printenv.cgi on this server.
Apache-AdvancedExtranetServer/1.3.23 Server at Port 80 [/tt][/red]
If I go to the Mandrake server and attempt I get the same problem.
I need a quick solution to this problem. Please send me any (Linux based) ideas possible on this one. My client is waiting for this functionality to be up and running ASAP.
[blue][tt]User apache /etc/httpd/conf/commonhttpd.conf (3)
Group apache /etc/httpd/conf/commonhttpd.conf (4)
<IfModule mod_alias> /etc/httpd/conf/commonhttpd.conf (193)
Alias /icons/ /var/ /etc/httpd/conf/commonhttpd.conf (200)
Alias /doc /usr/share/doc /etc/httpd/conf/commonhttpd.conf (201)
ScriptAlias /cgi-bin/ /var/ /etc/httpd/conf/commonhttpd.conf (212)
ScriptAlias /protected-cgi-bin/ /var/ /etc/httpd/conf/commonhttpd.conf (213)
</IfModule> /etc/httpd/conf/commonhttpd.conf (225)
AddHandler cgi-script .cgi /etc/httpd/conf/commonhttpd.conf (433)[/tt][/blue]
here are the permissions for /var/[blue][tt]
drwxr-xr-x 2 root root 4096 Apr 27 08:27 cgi-bin/
drwxr-xr-x 4 root root 4096 Apr 8 19:22 html/
drwxr-xr-x 3 root root 4096 Apr 8 19:15 icons/
drwxr-xr-x 2 root root 4096 Apr 8 19:16 perl/[/tt][/blue]
Here is the permissions for the script I am trying to run:
[blue][tt]-rwxr-xr-x 1 root root 268 Mar 5 2002 printenv.cgi*[/tt][/blue]
When I try to view in a browser I receive:
[red][tt]403 forbidden
You don't have permission to access /cgi-bin/printenv.cgi on this server.
Apache-AdvancedExtranetServer/1.3.23 Server at Port 80 [/tt][/red]
If I go to the Mandrake server and attempt I get the same problem.
I need a quick solution to this problem. Please send me any (Linux based) ideas possible on this one. My client is waiting for this functionality to be up and running ASAP.