Glitch100 Glitch100 - 1 year ago 74
PHP Question

.htaccess file to allow access to images folder to view pictures?

I have an images folder at the following URL.

On a different page:

I am trying to access the images wherein, with a correct tag link, however I get the :


You don't have permission to access /uploads/ on this server.

So I went and started dabbling with a
file, and I have no idea what I am doing ,I tried looking at some documentation but with no luck, I even took an example off another question..Here is how my
file looks atm:

<FilesMatch "\.(gif|jpe?g|png)$">
Order allow,deny
Allow from all

<Directory /uploads>
# All access controls and authentication are disabled
# in this directory
Satisfy Any
Allow from all

Any ideas on how I can have it allow access to that folder?

Answer Source
<Directory /uploads>
   Options +Indexes