I installed Zend on my ubuntu homeserver. In my .htaccess file i have the following code:
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQU
First You need mod_env installed (and mod_rewrite)
Double check if Apache has the module(s) loaded with either:
apachectl -l or httpd -l
the command might be different according to OS distribution i believe.
For the .htaccess file to work you need AllowOveride All which can be set in different configuration files (and "parts" depending on the way your OS as Apache configured. Your best option is to find out if it is a htaccess file issue or an environment one. Set anywhere in main configuration file:
SetEnv TESTME foobar
restart Apache and echo TEST from a PHP script. If you got it, debug the .htaccess
Note 1: Restrict in your virtual host the usage of .htacess to the folder where you really need it or move the configurations to a virtual host.
Note 2: You probably don't need all those rewrite rules if you have Apache mod_dir installed. Have a look at it