I was looking at the Quickstart again just now - my aforementioned .htaccess
is inflexible with all of those specific extensions. This is better:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^public/.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]


Chris Martin wrote:
> 
> 
> My index.php/.htaccess setup is modified a bit...
> I have an .htaccess file in my project root folder that rewrites all
> requests to a index.php which is also in my project root folder. For any
> images/css/js/etc. that I want to access from my project/public/ folder, I
> have a rewrite filter to allow them through based on file extension:
> 
>    RewriteEngine on
>    RewriteRule !\.(js|ico|gif|jpg|png|css|mpg|avi|swf|html|htm)$ index.php
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Framework-setup-for-local-dev.-and-shared-hosting.-tp20108467p20138851.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to