on my Magento site (not the real url 😉 ), I have http://magento.local.com/media/ returning as a 403 Forbidden.
This seems to be standard for all Magento installs, but I want to change this, and not have a 403 returned for requests to /media/.
How can I do this?
EDIT: (adding further information and reason for it)
I want /media/ to not be a 403, so that I can redirect requests to /media/ to /media/index.html.
I thought this redirect would be easy once the 403 was resolved, but unfortunately it is not. e.g.
RewriteRule ^$ /index.html [L,NC,R=301]
does not redirect /media/ at all, and the usual “Index of /” is displayed.
SOLUTION: add DirectoryIndex to the htaccess file
Thanks
Paul
Put
.htaccessto yourmedia/dir with following contents: