我正在使用Linux操作系統Lampp Apache server.I進行PHP開發,將默認根文件夾htdocs更改爲我桌面上的另一個文件夾PHP
。 When I create a hello.php file in the folder ,I can see it in browser and works well
。 但是我在這個根文件夾中有另一個名爲'front_end'的文件夾。當我嘗試在瀏覽器中使用http://localhost/front_end
來查看它時,我得到access forbidden
。 Firebug顯示'禁止訪問' 如何使用本地主機訪問此文件夾?在linux mint中禁止訪問apache localhost
另一位用戶在stackoverflow上問了一個類似的問題,但沒有幫助。
Ubuntu/Apache2/ Forbidden/Permission error
檢查該文件夾的權限和文件 – DevZer0
我怎樣才能做到這一點在終端,我沒有太多的在linux命令經歷ü –
轉到這個'DocumentRoot'做'須藤CHOWN阿帕奇:阿帕奇index.php' – DevZer0