500 Errors on images

Author Message

Domen Lombergar

Wednesday 06 July 2005 1:40:33 pm

Hey all.

I've just started toying with the installed system and have stumbled onto an immense issue:

All the images in the /var/gallery/storage/images/ folder are giving internal server 500 errors due to a security feature in apache called mod_recurity.

The fact that it gives out an error is because it found a /var/ in the URL and thinks this is an attack on the server's root.

Is there any way to go around this? Perhaps to create a preg replace for the url and then modify it back trough .htaccess? Or make some change in a setting (which i havent found) to change the var directory or just the directory for image storage?

Thanks in advance!

http://www.lombergar.com | http://www.artworld.si

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 18 2025 15:18:24
Script start
Timing: Jan 18 2025 15:18:24
Module start 'layout'
Timing: Jan 18 2025 15:18:24
Module start 'content'
Timing: Jan 18 2025 15:18:24
Module end 'content'
Timing: Jan 18 2025 15:18:24
Script end

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.0469152.6250
Module start 'layout' 0.00640.0028 741.671939.4453
Module start 'content' 0.00920.0053 781.117285.1328
Module end 'content' 0.01450.0016 866.250030.3047
Script end 0.0162  896.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.0097140.0002
Check MTime0.00106.2141140.0001
Mysql Total
Database connection0.00127.498210.0012
Mysqli_queries0.002716.935730.0009
Looping result0.00000.104610.0000
Template Total0.00138.210.0013
Template load0.00074.310110.0007
Template processing0.00063.834510.0006
Override
Cache load0.00053.118810.0005
General
dbfile0.00116.963680.0001
String conversion0.00000.038340.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