Helios MoD wrote: > i was using apache before with a specific configuration : > > <VirtualHost *:80> > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /home/www/ze.bz > ServerName gratuit-annuaire.info > ServerAlias *.gratuit-annuaire.info > > RewriteEngine On > RewriteCond %{REQUEST_URI} !^/(tools|awstats|image|favicon.ico|robots.txt) > RewriteRule ^(.+)$ /home/www/ze.bz/www/index.php [L] > </VirtualHost>
As far as I understand, it seems like you want to do something like: ==== Port 80 DocumentRoot /home/www/ze.bz/www/ Directory / { Handler redir { URL http://example.com/index.php } } Directory /tools { Handler common } Directory /awstats { Handler common } Directory /image { Handler file } Request "^/favicon.ico$" { Handler file } Request "^/robots.txt$" { Handler file } Request "^/index.php.*$" { Handler phpcgi } ==== Precedence is bottom to top: The first entry has the lowest priority. I didn't test it, but I guess it should work :-) -- Greetings, alo. _______________________________________________ Cherokee mailing list Cherokee@lists.alobbs.com http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee