2011-11-18 75 views
0

我正在使用Kohana 3.x,並且它在主站點上傳時出現奇怪的錯誤,如果我說,www.domain.com比站點打開,而如果我說,www.domain.com/index。 PHP /家裏說:沒有指定輸入文件。我正在使用godaddy服務器。我不是新的,我也上傳了其他kohana網站,但不知道爲什麼會發生這種情況。Kohana url errors

所以,如果有人知道,那麼請告訴。

感謝

回答

2

試着改變你的重寫規則:我目前沒有使用的.htaccess

# Protect application and system files from being viewed 
#RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L] 
RewriteRule ^(application|modules|system)/ - [F,L] 


# Rewrite all other URLs to index.php/URL 
#RewriteRule .* index.php/$0 [PT] 
RewriteRule .* index.php [L] 
+0

,看來我需要用它作爲GoDaddy的自動去一些別的地方,如果它檢測URL像index.php /類似於它嘗試使用php文件中的「php」命令,如cli – Hafiz