Problem htaccess and Zend

Posted by Fincha on Stack Overflow See other posts from Stack Overflow or by Fincha
Published on 2010-04-02T15:04:21Z Indexed on 2010/04/03 5:53 UTC
Read the original article Hit count: 315

Filed under:
|
|

Hello,

I have a server with php4 and pho5 support.

But i need to user this one to say server it must be parsed like a php5 file

AddType x-mapp-php5 .php .php5 .htm .html

But now, my Zend Project have no access to the controllers...

public/index/search -> 404 Not found

On my local Server it works perfectly.. someone know what to do?

my htaccess file

SetEnv APPLICATION_ENV development
AddType x-mapp-php5 .php .php5 .htm .html

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

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about .htaccess