I have default zf mvc app, created some controllers, views..etc.
App works fine when I'm on http://host/ or http://host/controller, but when
I try to access http://host/controller/ ot http://host/controller/action,
CSS, js, img... static files are not loaded!
My htaccess file looks like:
SetEnv APPLICATION_ENV testing
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Any idea?
--
View this message in context: http://www.nabble.com/Problem-accessing-controller-actions...-tp25799838p25799838.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论