1
我想在godaddy webhosting(apache-linux ofcourse,不是IIS)上設置一個.htacess文件。但是,我真的堅持了一個問題:godaddy .htaccess重寫規則
RewriteEngine On
Options +FollowSymLinks
Rewriterule ^templates/.*$ - [PT]
Rewriterule ^controllers/.*$ - [PT]
Rewriterule ^.*$ index.php [NC,L]
我真的得到一個內部服務器錯誤線路:
重寫規則^ * $的index.php [NC,L]
我不知道如何解決這個問題,我試過了我所知道的一切......基本上我想發送index.php中引導程序設置的任何東西。這是在任何託管我工作過,但曾嘗試,但godaddy似乎有這個問題:^。* $任何幫助,將不勝感激。