pssturges
March 17th, 2008, 08:23 AM
Hi,
I'm trying to use a folder containing thumbnails for my web site. It is located at /storage/Media/Posters. I have tried setting an alias but I keep getting a 403 Forbidden error when I try to access any of the file inside.
The code I'm using is as follows:
Alias /posters /storage/Media/Posters
<Directory "/storage/Media/Posters">
Order allow,deny
Allow from all
</Directory>
I have tried putting this code in several places including:
/etc/apache2/sites-available/default
/etc/apache2/apache2.conf
/etc/apache2/httpd.conf
As a possible alternate solution I tried creating a symlink to the folder in /var/www, but this gave the same results.
I have also tried changing ownership/permissions without any luck.
I have spent about 4 hours searching for a solution to this. I would really like to get it fixed.
I'm happy to post any config or log files that may help.
Thanks in advance
Phil
I'm trying to use a folder containing thumbnails for my web site. It is located at /storage/Media/Posters. I have tried setting an alias but I keep getting a 403 Forbidden error when I try to access any of the file inside.
The code I'm using is as follows:
Alias /posters /storage/Media/Posters
<Directory "/storage/Media/Posters">
Order allow,deny
Allow from all
</Directory>
I have tried putting this code in several places including:
/etc/apache2/sites-available/default
/etc/apache2/apache2.conf
/etc/apache2/httpd.conf
As a possible alternate solution I tried creating a symlink to the folder in /var/www, but this gave the same results.
I have also tried changing ownership/permissions without any luck.
I have spent about 4 hours searching for a solution to this. I would really like to get it fixed.
I'm happy to post any config or log files that may help.
Thanks in advance
Phil