Project

General

Profile

Bug #1604

compress/rewrite wrong (old) filename

Added by nitrox over 11 years ago. Updated about 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_compress
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

I rewrite all errors to bar.tld/error/<type>/index.php

GET /foobar.file HTTP/1.1" 404 178

GET /error/404/index.php HTTP/1.1" 200 728

For files this works from all vhosts and all vhosts outside bar.tld. This works for directories only if they happen to be on domain bar.tld.

For the vhost foo.bar.tld/<nonexistingdir>/ (/foobar/ in this example) it doesn´t work, its redirected to bar.tld/error/<type>/index.php and mod_compress says:

(mod_compress.c.440) creating cachefile /<cachedir>//foobar/-gzip-39776-233-1162811614 failed No such file or directory

At this point i wonder, why mod_compress tries to compress the directory as a file, or why it doesn´t compress the /error/404/index.php instead.

So i disabled compress.cache-dir for the moment.

thx,
nitrox

History

#1

Updated by stbuehler about 11 years ago

  • Status changed from New to Fixed
  • Resolution set to duplicate

Also available in: Atom