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
![](https://tkt.nkust.edu.tw/themes/DogModern/images/box_add.png)
![$star_image](themes/DogModern/images/stars/full_star.png)
![$star_image](themes/DogModern/images/stars/full_star.png)
![$star_image](themes/DogModern/images/stars/full_star.png)
![$star_image](themes/DogModern/images/stars/no_star.png)
![$star_image](themes/DogModern/images/stars/no_star.png)