Robert Castley wrote:
You need to exclude this jscripts directory in your .htaccess file e.g.

RewriteEngine on
RewriteRule ^(jscripts) - [L]
RewriteRule !\.(js|ico|gif|jpg|png|css|xml|xslt|xsl|html|swf)$ index.php

If you need to add more directory just add a | in between each one e.g.

RewriteEngine on
RewriteRule ^(install|jscripts|anotherone|etc) - [L]
RewriteRule !\.(js|ico|gif|jpg|png|css|xml|xslt|xsl|html|swf)$ index.php

Of course you may actually *want* *.html files (not to mention .js, .xml, .jpg etc. etc. to go through you Zend Framework system!

But that doesn't change the first rule which is the important bit here!

Col

Reply via email to