[問題] vsftp如何指定特定帳號的登入目錄
我希望能開個帳號web
然後ftp登入之後會直接進到/var/www/html
讓這個帳號可以在這個目錄上下傳檔案
我的OS Cent OS 5.2
-----------------------
還有個問題 個人帳號的html一直開不起來
SELinux關了
瀏覽個人網站會出現錯誤
Forbidden
You don't have permission to access /~帳號/ on this server.
apache errorlog會這樣寫
[error] [client 192.168.2.101] (13)Permission denied: access to /~帳號/ denied
apache的設定
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<Directory /home/*/public_html>
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
帳號中public_html 有改755了
不過我還是查不出問題在哪QQ
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.68.240.38
討論串 (同標題文章)
以下文章回應了本文 (最舊先):
完整討論串 (本文為第 1 之 3 篇):