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@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx