Each time I try to upload an image for a product in an ecommerce store I'm trying out I get:
Unable to create directory ‘/’. Access forbidden.
The error logs say:
I see that the .htaccess file has some rewrite listings:[Mon Sep 10 20:46:41 2007] [error] [client 75.41.160.141] Directory index forbidden by Options directive: /var/www/vhosts/designhosting.us/httpdocs/magento/testMelinda/magento/media/upload/0/, referer: http://www.designhosting.us/magento/tes ... it/id/108/
[Mon Sep 10 20:46:41 2007] [error] [client 75.41.160.141] Directory index forbidden by Options directive: /var/www/vhosts/designhosting.us/httpdocs/magento/testMelinda/magento/media/upload/1/, referer: http://www.designhosting.us/magento/tes ... it/id/108/
I tried putting an options directive in here but same error.php_flag magic_quotes_gpc off
php_flag short_open_tag on
DirectoryIndex index.php
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/media/
RewriteCond %{REQUEST_URI} !^/skin/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
This is in the /etc/httpd/conf/httpd.conf file:
All the folders and graphics in the media folder including the media folder are 777 with correct ownerships.<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
Any help is greatly appreciated!
Thanks![/quote]