On Oct 15, 2009, at 12:38 PM, Dick Davies wrote:
Why don't you do
ScriptAlias /abc /var/www/abc/cgi-bin/abc.cgi
?
Because I didn't know you could do that. I thought aliases had to
point to directories :) Knew it would be something simple :-P
On Thu, Oct 15, 2009 at 8:35 PM, Israel Brewster
<isr...@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-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD
---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org