我在以下URL有一个images文件夹。
www.mysite.com/uploads/
在另一页上:
www.mysite.com/search.php/
我正在尝试访问图像,其中,使用正确的标记链接,但我得到:
Forbidden
You don't have permission to access /uploads/ on this server.
所以我开始涉足一个 .htaccess
文件,我不知道我在做什么,我试着查看一些文档,但没有运气,我甚至举了另一个问题的例子..这就是我的 .htaccess
文件看起来atm:
<FilesMatch "\.(gif|jpe?g|png)$">
Order allow,deny
Allow from all
</FilesMatch>
<Directory /uploads>
# All access controls and authentication are disabled
# in this directory
Satisfy Any
Allow from all
</Directory>
关于我如何拥有它的任何想法都允许访问该文件夹?