On Apr 10, 2008, at 8:37 AM, Christopher Bianchi wrote:
Israel,
Use mod_rewrite to redirect requests to a directory to the url of
the cgi
page, including any URL variables that you want.
I was hoping to avoid that solution. My experiences with mod_rewrite
have been, shall we say, somewhat less than pleasant :) Oh well, It'll
work. Thanks!
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
Chris
On Wed, April 9, 2008 2:37 pm, Israel Brewster wrote:
I have a .cgi script that I would like to use as the DirectoryIndex
for a location on my web server, preferably with the trailing ?abc=
argument attached (although without would work too). I thought I
might
just be able to put the .cgi file as the DirectoryIndex directive for
the directory, but that didn't work, failing with an "attempt to
invoke directory as script" error. So what would be the easiest way
to
make this work? I don't need to hide the .cgi path/arguments from the
end user or anything, i'd just like to be able to simply type
www.myserver.com/abc
and have the cgi
(www.myserver.com/abc/somescript.cgi?someargument=somevalue)
load. Thanks.
-----------------------------------------------
Israel Brewster
Computer Support Technician
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]