in reply to defaulting to a perl script...
here's what's in my httpd.conf for that (you should read the mod_perl documentation so you REALLY know what's going on though.)
You could also restrict this to just a directory if you wanted. -<Files *.pl> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI </Files>
As far as adding a default page, look for DirectoryIndex..<Location /perl> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI </Location>
And I belive that a spider will request the default page from the root of your site. If that happens to be a script, it will get the results of the script.DirectoryIndex index.html index.htm index.shtml index.php index.php4 i +ndex.php3 index.cgi index.pl
Hope this helps..
Rich
|
|---|