Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Short-circuited CGI Link

by nardo (Friar)
on Jun 13, 2001 at 21:38 UTC ( [id://88136]=note: print w/replies, xml ) Need Help??


in reply to Re: Short-circuited CGI Link
in thread Short-circuited CGI Link

You can use the DirectoryIndex apache directive to set the default document. Something like:
DirectoryIndex index.html index.htm index.cgi
would execute index.cgi (assuming apache has been configured to execute .cgi files (Options ExecCGI)) if index.html and index.htm can not be found. The index.cgi could then check the QUERY_STRING to determine whether the person wants to execute script.pl or get the default html page.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://88136]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found