You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by gcobb <gc...@midsouth.rr.com> on 2003/01/17 17:30:45 UTC
[users@httpd] CGI Help: New thread
Hi,
I am not able to get CGI to run from a new install.
Here's what I have as far as CGI goes in my config files:
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
ScriptAlias /protected-cgi-bin/ /var/www/protected-cgi-bin/
<IfModule mod_perl.c>
#Provide two aliases to the same cgi-bin directory,
#to see the effects of the 2 different mod_perl modes
#for Apache::Registry Mode
Alias /perl/ /var/www/perl/
#for Apache::Perlrun Mode
Alias /cgi-perl/ /var/www/perl/
</IfModule>
<Directory /var/www/perl>
AllowOverride All
Options -Indexes FollowSymLinks MultiViews ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/cgi-bin>
AllowOverride All
Options ExecCGI
</Directory>
AddHandler cgi-script .cgi
LoadModule cgi_module modules/mod_cgi.so
AddModule mod_cgi.c
Here's what the error log said when I tried to access this:
http://www.chatsouth.net/squirrelmail-1.4.0-rc1/
[Fri Jan 17 10:11:21 2003] [error] [client 192.168.1.1] client denied by
server configuration: /var/www/cgi-bin/php
Thank you,
Greg
>
> >If you can tell me what parts I should post I would be happy to. I
> >appreciate your reply.
>
> For starters, look at /etc/apache/httpd.conf. I don't
> have/use commonhttpd.conf
>
> LoadModule cgi_module...
>
> ScripAlias...
>
> <Directory /path/to/cgi/directory>
> ...
>
> AddHandler cgi...
>
> This is not to say I'll recognize any error, but there are
> plenty here who can.
> --
> gt kk5st@sbcglobal.net
> If someone tells you---
> "I have a sense of humor, but that's not funny."
> ---they don't.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project. See
> <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org