I thought simply putting Redirect permanent index.* /cgi-bin/index.pl
[ without mod_rewrite ] Redirect permanent / http://www.example.com/cgi-bin/index.pl
But mod_rewrite would be best - as the OP stated... Over all this is a bad Idea... after a few more months of CGI programming you may discover why.
Also, you may want to create a simple
index.html file or a plain index.cgi in DocuementRoot to either
HTTP-EQUIV=Refresh content=0;URL=blah blah
Or inside the index.cgi simply print-out
Location: http://www.example.com/cgi-bin/index.pl\n\n
( 2 Crs afterward )
HTH/Sx
-- http://www.usenix.org/publications/perl/
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>