0
其實我的網站在本地主機上工作,爲什麼我會在現場得到Internal Server Error
? 我在這裏附上了我的.htaccess
這個文件,裏面有錯誤嗎?yii中的內部服務器錯誤
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on
# Make backend accessible via url:
RewriteRule ^sysadmin& backend.php
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule ^.*$ /index.php [L]
你改變的index.php文件夾的Yii參考? –
雅我已更改它 – Bharu
您的託管服務提供商是否允許您使用.htaccess文件,如果有,是否安裝了mod_rewrite? – bkwint