Ticket #1604 (closed defect: duplicate)
compress/rewrite wrong (old) filename
| Reported by: | nitrox | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | mod_compress | Version: | 1.5.x-svn |
| Severity: | normal | Keywords: | |
| Cc: | mail@… | Blocked By: | |
| Need User Feedback: | no | Blocking: |
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

