www.stm.nkust.edu.tw 系統相關問題 
Wednesday, December 4, 2019, 03:25 PM - 工作日誌   (同類別文章列表)
Posted by Administrator

User的網頁目錄public_html在更新後,不能作用

 vi /etc/config/apache/apache.conf

加入下列設定後、重啟網頁伺服器即可…

########################TKT
LoadModule userdir_module modules/mod_userdir.so
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /share/homes/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Require all granted
</Limit>
<LimitExcept GET POST OPTIONS>
Require all denied
</LimitExcept>
</Directory>
</IfModule>
########################TKT


發表回應 ( 共計433閱讀人次 )   |  permalink   |  $star_image$star_image$star_image$star_image$star_image ( 3 / 477 )

<<第一頁 <前一頁 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 下一頁> 最後>>