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.

eZ debug

Timing: Jan 31 2025 01:18:53
Script start
Timing: Jan 31 2025 01:18:53
Module start 'layout'
Timing: Jan 31 2025 01:18:53
Module start 'content'
Timing: Jan 31 2025 01:18:53
Module end 'content'
Timing: Jan 31 2025 01:18:53
Script end

Main resources:

Total runtime0.0242 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.1250151.2109
Module start 'layout' 0.00550.0033 739.3359220.6875
Module start 'content' 0.00880.0137 960.02341,001.7578
Module end 'content' 0.02250.0016 1,961.781333.9922
Script end 0.0241  1,995.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.1137140.0002
Check MTime0.00114.5193140.0001
Mysql Total
Database connection0.00083.200010.0008
Mysqli_queries0.00218.674530.0007
Looping result0.00000.037510.0000
Template Total0.00124.810.0012
Template load0.00093.563110.0009
Template processing0.00031.204810.0003
Override
Cache load0.00062.470810.0006
General
dbfile0.00197.663180.0002
String conversion0.00000.023740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs