Share » Forums » Install & configuration » Problems with rewrite rule

Problems with rewrite rule

Problems with rewrite rule

Friday 27 May 2005 1:31:01 pm - 1 reply

Author Message

kracker (the)

The Doctor

Friday 27 May 2005 2:57:38 pm

I'm sure your hosting provider's support would tell you that you can include exclude commands into your .htaccess file to do exactly what you need. Be sure to add the these RewriteCond before your primary RewriteRule for these to work in your .htaccess

RewriteEngine On

RewriteCond %{REQUEST_URI} !^/favicon.ico*
RewriteCond %{REQUEST_URI} !^/awstats*
RewriteCond %{REQUEST_URI} !^/eaccelerator*

RewriteRule !\.(gif|ico|jpe?g|png|css|js)|var(.+)storage.pdf(.+)\.pdf$ index.php

Optionally you may want / need one of these (depends):

DirectoryIndex index.php

//kracker
<i>eminem : stimulate</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu