Is there a way to apply a RewriteRule only on index pages say index.htm &
index.html that will call a script? Here is what I'm using now but it
applies it to every page viewed.
RewriteRule . /cgi-bin/script.pl
Thanks in advance
Blnukem
> Is there a way to apply a RewriteRule only on index pages say index.htm &
> index.html that will call a script? Here is what I'm using now but it
> applies it to every page viewed.
>
> RewriteRule . /cgi-bin/script.pl
ScriptAlias /index.html /www/cgi-bin/script.pl
or (my preferred option)
DirectoryIndex index.html /cgi-bin/script.pl ...
--
Klaus Johannes Rusch
Klaus...@atmedia.net
http://www.atmedia.net/KlausRusch/