[ic] rewite rules killed images

DB interchange-users@icdevgroup.org
Sun Sep 22 17:29:01 2002


> Try this:
> 
> <VirtualHost 123.456.789.0>
>          ServerAdmin webmaster@somedomain.com
>          DocumentRoot /path/to/html/root
>          ServerName somedomain.com
>          ErrorLog logs/somedomain_error_log
>          CustomLog logs/somedomain_access_log common
>          CustomLog logs/somedomain_agent_log agent
>          CustomLog logs/somedomain_referer_log referer
>          ScriptAlias /cgi-bin/ "/path/to/cgi-bin/"
>          RewriteEngine On
>          RewriteRule ^$ /cgi-bin/vlink/index.html [PT,L]
>          RewriteRule ^/$ /cgi-bin/vlink/index.html [PT,L]
>          RewriteRule ^/index\.html$ /cgi-bin/vlink/index.html [PT,L]
>          RewriteRule ^/cgi-bin/vlink/.* - [PT,L]
>          RewriteRule ^/.*images/.* - [PT,L]
>          RewriteRule ^/(.*) /cgi-bin/vlink/$1 [PT,L]
> </VirtualHost>
> 
> Good luck!

Yes that works great... thanks!  But the side effect is that my admin 
gui breaks. Is there a workaround for that? I tried adding

RewriteRule ^/cgi-bin/vlink/admin.* - [PT,L]

but that seems not to help.

DB