Hallo,
ich hab ein cgi board laufen und wollte mal sehen, wie sich das mit
der gzip_cnc.pl verhält.
Ich hab die hochgeladen, die Pfade korrekt angepasst.
my $logfile_path = '/home/xyz/htdocs/log.txt';
my $cache_directory = '/home/xyz/htdocs/cache';
Im Root hab ich die htaccess Datei angelegt mit
# gzip_cnc-Komprimierung von *.htm und *.html
<Files ~ .html?$>
Action text/html /home/xyz/htdocs/cgi-bin/gzip_cnc.pl
</Files>
hab auch schon
Action text/html /cgi-bin/gzip_cnc.pl
ausprobiert. Wenn ich teste schreibt er selftest ok, und es kommen
keine weiteren einträge und auch im Cacheverzeichnis landet nichts.
Ist der mime-type falsch, oder geht das mit cgis überhaupt nicht ?
hier nochmal die Meldungen beim Aufrufen des Skriptes:
this CGI script file has been installed at
"/home/xyz/htdocs//cgi-bin/gzip_cnc.pl";
the path name of your document root directory is
"/home/xyz/htdocs/"
selected compression quality level for gzip: "6"
checking which compression tool will be used:
"zlib, via Perl module API"
(the Compress::Zlib package is installed and usable) OKAY
thus we don't need to check the setting for the gzip system command
"/usr/bin/gzip" which won't be used now
cache root directory:
"/home/xyz/htdocs/cache"
(this directory does not exist! gzip_cnc will try to create it when needed
but doesn't know right now whether this will work) WARNING
gzip_cnc's own log file:
"/home/xyz/htdocs/log.txt"
(gzip_cnc will try to write log messages into this file)
HTTP error 404 handling:
[none specified]
(gzip_cnc will serve its own little error 404 document)
MIME type of documents to be served: "text/html"
sending additional HTTP headers: "yes"
expiration interval for served pages: "86400" seconds