我在这里遇到了一个情况。我有这个网站http://liuitt.com使用以下 .htaccess 文件运行 Zend:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteRule !\.(js|gif|jpg|png|css|txt|eot|svg|ttf|woff|ico|pdf)$ public/index.php [L]
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ public/$1 [NC,L]
我正在尝试在子域http://crm.liuitt.com上安装 FengOffice
但问题是我得到 500 Internal Server Error。
然后...如果我通过 liuitt.com 在我的根文件夹中禁用 .htaccess,它就可以工作。
我怎么解决这个问题?
如何让子域使用它自己的 .htaccess 文件?