www.stm.nkust.edu.tw 系統相關問題 
Wednesday, December 4, 2019, 07:25 AM - 工作日誌   (同類別文章列表)
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


發表回應 ( 共計87閱讀人次 )   |  permalink   |  $star_image$star_image$star_image$star_image$star_image ( 3.1 / 135 )

| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 下一頁> 最後>>