我有一个虚拟目录设置:XAMPP/Mac的 - 做一个JPEG文件访问通过HTTP
<Directory "/Applications/XAMPP/branding">
Options None
AllowOverride All
Order allow,deny
Allow from all
</Directory>
与定义的别名:
Alias /branding "/Applications/XAMPP/branding"
我把一个JPEG文件,该文件夹中和尝试通过访问它:
http://127.0.0.1/branding/image.jpeg
我正在一个身份验证错误:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
127.0.0.1
Tue Nov 13 12:15:14 2012
Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l PHP/5.3.1 mod_perl/2.0.4 Perl/v5.10.1
我在进行更改后重新启动了Web服务器。
我做错了什么?
你可以发布整个vhost指令吗?也许随着域名的变化。 – Homer6