Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Short-circuited CGI Linkby nardo (Friar) |
on Jun 13, 2001 at 21:38 UTC ( [id://88136]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|