Welcome Guest, Not a member yet? Register   Sign In
.htaccess - How to exclude all PNG(s)

Hello everybody,

excuse me bad english first.

I have these rules in my .htaccess (Codeigniter 1.7.2):

RewriteEngine on
RewriteCond $1 !^(index\.php|folder1|htm|captcha|assets|folder2|robots\.txt|favicon\.ico|sitemap\.xml|a-static-file\.html|folder3)
RewriteRule ^(.*)$ /index.php/$1 [L]

I need to exclude all png(s) files from rewriting, but I can't be able to do that.

I did try to add

and also
but both solutions doesn't works, they returns to me an Internal Server Error.

May I ask your help?

Thank you


You solve my problem.

Thank you P.T.!

Nice. You're welcome Smile

Theme © iAndrew 2016 - Forum software by © MyBB