httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas E. Dukes" <edu...@palmetto.dnsalias.net>
Subject RE: [users@httpd] .cgi/apache problems: SOLVED (Almost)
Date Thu, 10 Apr 2003 10:11:49 GMT
I noticed that too.  If I change it to match, the error changes.
Sometimes it will be page not found.  I don't get it.

The path to classifies.cgi is:
/home/www.palmettoshopper.com/html/cgi-bin/classifieds/classifieds.cgi

This is that part of my httpd.conf for the virtual host,
www.palmettoshopper.com:
DocumentRoot /home/www.palmettoshopper.com/html/
ScriptAlias /cgi-bin/ /home/www.palmettoshopper.com/html/cgi-bin/
<Directory "/home/www.palmettoshopper.com/html/cgi-bin/">
  Options +ExecCGI
</Directory>

There are sub-directories under /classifieds/ which have .pl files that
are used by classifieds.cgi.  Do I need to add some kind of statement
for those sub-directories?

I really appreciate your helping me!!

> On Wed, 9 Apr 2003, Thomas E. Dukes wrote:
> 
> > I got part of it running, the main page. But when I try to access a 
> > category I get Error 403 - Forbidden.  Here's a snippet of the log 
> > file:
> >
> > [Wed Apr 09 22:12:04 2003] [error] [client 10.10.0.2] 
> Options ExecCGI 
> > is off in this directory: 
> > /home/www.palmettoshopper.com/html/classifieds/classifieds.cgi
> 
> > <Directory 
> "/home/www.palmettoshopper.com/html/cgi-bin/classifieds/">
> >   Options +ExecCGI
> > </Directory>
> 
> Notice those two paths don't match.  One has a "cgi-bin" and 
> the other doesn't.  I suspect that your ScriptAlias is not 
> set correctly, and therefore Apache is looking in the wrong 
> place for the script.  This is strange, since it was finding 
> the script before.  Have you changed things in httpd.conf?
> 
> Joshua.
> 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message