For a virtual Server on Apache 1.3.12 (extras : mod_perl, mod_rewrite) I
want virtually every access on this host have handled by a single script.
(access of virtual subfolders, files, scripts, pictures ... everything)
I thought this would be a simple rewriterule, but the following does not
work ... (404: file not found)
<VirtualHost 192.168.11.100>
ServerName www2.local
DocumentRoot /home/htdocs/www2/home
Rewri*gine on
RewriteRule !test\.pl /cgi-bin/test.pl
Alias /cgi-bin /home/htdocs/www2/cgi-bin
<Location /cgi-bin>
AllowOverride None
Options None
Order allow,deny
Allow from all
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</VirtualHost>
I also tried to add the [T=application/x-httpd-cgi] with no success.
I also used absolute url as target http://www.veryComputer.com/
The only file accessible is http://www.veryComputer.com/, so the first
part of the rule seems to work and I really dont know what can be wrong
with the second part ...
thnx,
peter
--
peter pilsl
http://www.veryComputer.com/