Kyle Burton on Fri, 10 Dec 1999 16:13:01 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] Anybody know how...


You need to enable .cgi as a CGI extension in your webserver's configuration.
Also, make sure you can run it from the command line...

k

------------------------------------------------------------------------------
You should never wear your best trousers when you go out to fight for freedom
and liberty. 
    -- Henrik Ibsen
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------

On Fri, 10 Dec 1999, Charles Stack wrote:

> to execute a cgi script named index.cgi that resides in the html root
> directory.
> 
> I'm running Apache 1.3.9 and can't seem to figure out what I must do to call
> the cgi program when the a URL of the following type executed.  I've read
> the documentation but can seem to figure it out.
> 
> http://www.mydomain.com
> 
> I've got a perl script that needs to execute to direct a user to the
> appropriate directory (i.e. we have our website in three formats: highband,
> lowband, and textonly).  Ultimately, the script generates a simple dynamic
> document with a cookie and Location header pointing to an index.html page in
> the proper directory.
> 
> BTW, if I execute http://www.mydomain.com/index.cgi all works fine.  If I
> execute http://www.mydomain.com, I get the text of my script.
> 
> Thanks,
> 
> Charles
> 
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
> 


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug