<Directory “/usr/local/apache2/htdocs/”>
#
# Possible values for the Options directive are “None”, “All”,
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
Options FollowSymLinks MultiViews
#
# AllowOverride controls what directives may be placed in .htaccess files.
# Options FileInfo AuthConfig Limit
AllowOverride None
#
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
출저 : http://citylock.tistory.com/377
또는
vi /usr/local/apache/conf/extra/httpd-userdir.conf
UserDir html
#<Directory /home/*/public_html>
<Directory /www/*/html*>
AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Options MultiViews SymLinksIfOwnerMatch IncludesNoexec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>