ServerRoot "/etc/httpd"
Listen 8888
DocumentRoot "/var/www/"
<Directory />
AllowOverride none
Require all granted
</Directory>
<Directory "/var/www/aaa">
Options Indexes FollowSymLinks
IndexOptions +Charset=UTF-8 +NameWidth=160
AllowOverride None
Require all granted
</Directory>
然后浏览器打开 http://localhost:8888/aaa