Apache permission problem

Author Message

Carlos Revillo

Friday 02 December 2005 4:21:29 am

Hi. in my site i upload pdf, mp3 or txt files through admin interface. The file is uploaded as expected but when i try to get it i get a 403 apache error Something like..

You don't have permission to access /var/plain/storage/original/text/ee585167aca2e49ce3396063dd81a757.txt on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

For testing purposes i've chmod that folder to 777.
... any ideas what is happening?

Łukasz Serwatka

Monday 05 December 2005 11:52:52 pm

Carlos, your website is running in NON-VH mode and it is protected with .htaccess? After changing permissions you still experiencing problem?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Carlos Revillo

Tuesday 06 December 2005 7:01:01 am

it was a question about my .htaccess file. all is ok now. thanks a lot again.

Łukasz Serwatka

Tuesday 06 December 2005 7:06:02 am

Could you tell us where was problem and how did you fix it?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Carlos Revillo

Tuesday 06 December 2005 7:29:43 am

Well, the problem was i could not download pdf files, or mp3 or txt files i've previosly uploaded through admin interface. when i tried to access to urls like http://site/var/plain/storage/original/application/xxxxxxxxxxxxxxxxx.pdf
i got an forbidden error message. so i change some lines in .htaccess file of my root folder. i've just followed the instructions on that file and uncomment these lines...

<Files "ezpublish">
order allow,deny
allow from all
</Files>

then, i've changed ezpublish with my base folder.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.