- 2007-08-03 (Fri) 22:29
- Uncategorized
Download software (source code available)
mod_imagefight
SOURCE
NOTICE
- This is an ALPHA release.
- DO NOT use production server.
INSTALL
To play with this imagefight module first compile it into a DSO file and install it into Apache’s modules directory by running:
$ apxs -c -i mod_imagefight.c
SETUP
Then activate it in Apache’s httpd.conf file for instance for the URL / in as follows:
# httpd.conf
LoadModule imagefight_module modules/mod_imagefight.so
<Location />
AddOutputFilterByType ImageFight image/gif image/jpeg image/png image/bmp
# AddOutputFilter ImageFight .png .bmp .gif .jpg .jpeg
</Location>
for DEBUG only (disable browser cache)
# LoadModule headers_module modules/mod_headers.so
<IfModule mod_headers.c>
RequestHeader unset If-Modified-Since
RequestHeader unset If-None-Match
Header unset Last-Modified
Header unset ETag
</IfModule>
- Newer: Presentations
- Older: About