我在我的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