我在我的ubuntu homeserver上安装了Zend。在我的.htaccess文件我有以下代码:Zend SetEnv in .htaccess not working
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [NC,L]
,当我在我的公用文件夹的index.php呼应APPLICATION_ENV,APPLICATION_ENV未设置。
我在做什么错了?
在Apache中启用了Mod重写。
你有mod_env您的服务器上启用? – 2011-04-24 03:59:03