<IfModule mod_userdir.c>
#UserDir disabled
UserDir "public_html"
</IfModule>
#UserDir disabled
UserDir "public_html"
</IfModule>
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
Setelah itu, lakukan chmod 0711 pada folder user /home/namauser dan chmod 0755 pada folder public_html, lakukan restart Apache Anda, semoga sukses
No comments:
Post a Comment