httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dick Davies <rasput...@hellooperator.net>
Subject Re: [users@httpd] cgi as directory index?
Date Thu, 15 Oct 2009 20:38:41 GMT
Why don't you do

ScriptAlias /abc /var/www/abc/cgi-bin/abc.cgi

?

On Thu, Oct 15, 2009 at 8:35 PM, Israel Brewster
<israel@frontierflying.com> wrote:
> I'm sure this one is really simple, but I don't know what I am doing wrong.
> I have the following config block in my httpd.conf file:
> ScriptAlias /abc /var/www/abc/cgi-bin
> <Directory /var/www/abc/cgi-bin>
>         Options +ExecCGI
>         allow from all
>         directoryindex abc.cgi
> </Directory>
> if I go to http://<myserver>/abc/abc.cgi, it works fine. However, if I just
> go to http://<myserver>/abc, I get a "Forbidden" message. The error log
> shows "attempt to invoke directory as script: /var/www/abc/cgi-bin". I want
> to be able to just type http://<myserver>/abc to get to the script. What am
> I missing here? Thanks.
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician II
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
>
>
>

---------------------------------------------------------------------
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