如果我在/ home / myuser和/ tmp保留a.txt文件,并且在Apache 2.4中配置默认主机,如下所示:
Alias /a1 /tmp
<Directory /tmp>
Require all granted
</Directory>
Alias /a2 /home/myuser
<Directory /home/myuser>
Require all granted
</Directory>
那我就能做到:
wget http://localhost/a2/a.txt
但不是:
wget http://localhost/a1/a.txt
/ tmp关于Apache 2.4有什么特别之处吗?