我有一种情况,我的图像与我的文档根目录位于同一级别。
所以我需要 /Users/jwindhall/Sites/gdw/my_app/images (www.example.local/images)
指向 /Users/jwindhall/Sites/gdw/images。
我一直在做:
其余的...
<VirtualHost *:80>
ServerAdmin example@whatever.com
DocumentRoot "/Users/jwindhall/Sites/gdw/my_app/"
ServerName www.example.local
ServerAlias www.example.local
<Directory "/Users/jwindhall/Sites/gdw/my_app">
Options All Includes Indexes FollowSymLinks
Order allow,deny
Allow from all
AllowOverride All
</Directory>
Alias /images /Users/jwindhall/Sites/gdw/images
</VirtualHost>
我究竟做错了什么?