what is this error?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
modom46
Forum Regular
Forum Regular
Posts: 259
Joined: Mon May 22, 2006 9:52 pm

what is this error?

Unread post by modom46 »

Hi,

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:
[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 see that the .htaccess file has some rewrite listings:
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
I tried putting an options directive in here but same error.

This is in the /etc/httpd/conf/httpd.conf file:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
All the folders and graphics in the media folder including the media folder are 777 with correct ownerships.

Any help is greatly appreciated!

Thanks![/quote]
Post Reply