You are not logged in.
Pages: 1
I an getting this error when opening ImageManager:
[Tue Oct 24 12:08:41 2006] [error] [client xx.xxx.xx.xx] mod_security: Access denied with code 500. Pattern match "\\.\\./\\.\\./" at REQUEST_URI [id "300004"] [rev "2"] [msg "Generic Path Recursion denied"] [severity "CRITICAL"] [hostname "www.xxxx.nl"]
Offline
The server (Apache?) is mis-configured. One of it's modules (mod_security) does not allow requests in a certain format (matching the pattern specified in the error message). You should forward this message to server administrator and ask him to reconfigure mod_security settings.
Or, maybe you have defined the path to your images using parent directory construct ('../') - you cannot do this - images_url setting must be a valid URL (absolute or relative).
I had a similar problem once:
some badly configured hosts forbid access to URLs with"..%2F..%2F" string, even in query string.
I had to change images_dir setting to represent full absolute directory to images. I used PHP realpath() function to do this like this:
$IMConfig['images_dir'] = realpath(dirname(__FILE__) . '/../../{CONFIG product_pictures_dir}/user') . '/';
Offline
Or, maybe you have defined the path to your images using parent directory construct ('../') - you cannot do this - images_url setting must be a valid URL (absolute or relative).
Probably this was the problem, but it's academic now as I have replaced ImageManager by ExtendedFileManager, which works perfectly.
Thanks
Last edited by Lowlander (2006-10-25 02:50:17)
Offline
That's even more surprising as EFM and IM basically share the same code for the issue described Glad to hear it though
Offline
Pages: 1