好了,所以我用下面的腳本,我得到在所有網站上出現以下錯誤那種搞砸我的幾個網站:搞砸了文件權限在/ home目錄GoDaddy的的cPanel
Forbidden
You don't have permission to access/on this server.
Server unable to read htaccess file, denying access to be safe
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
代碼把所有東西搞砸了!
<?php
exec ("find/-type d -exec chmod 0750 {} +");
exec ("find/-type f -exec chmod 0644 {} +");
?>
你不能通過SSH登錄? – bassxzero
是唯一的方法嗎? –
如果是這樣,這意味着我必須設置ssh,這可能需要一段時間,因爲我從來沒有使用它.. –