Forums / Setup & design / phpadsnew, RewriteRule porblem !

phpadsnew, RewriteRule porblem !

Author Message

Selmah Maxim

Friday 13 January 2006 12:18:58 pm

Hi ..

what the error with this

RewriteRule !(((^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf))|^/extension/phpadsnew/phpadsnew/.*)$ /index.php

I got from http://ez.no/community/contribs/3rd_party/extension_phpadsnew_pubsvn

its give starnge error on my local server, cgi error ...

Any help plz ?!

Selmah Maxim

Friday 03 February 2006 4:38:29 am

Any help plz ?!

Konrad Mazurkiewicz

Friday 03 February 2006 5:51:47 am

Try this,

!((^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf))|(^/extension/phpadsnew/phpadsnew/.*)$ /index.php

Konrad

Selmah Maxim

Sunday 05 February 2006 2:08:44 pm

didn`t work ... its goes to localhost with this "RewriteRule" !