Can someone explain to me or refer me to a site that explains how to use mod perl or ZIP or whatever to compress big ass files and images. That is, if it exists.
mod_perl is an apache module that allows you to access the apache module structues via perl instead of limiting you to C. It also keeps a copy of the perl interperter in memory to reduce startup time of perl scripts (that is the ones that you set mod perl to handle). mod perl won't do any compression for you. mod_gzip will however. It will gzip the output of whatever file/page your webserver has on the fly to reduce bandwith.. most browsers understand gzip encoded pages (actually i have never seen one that doesnt). just install mod_gzip and use the mod_gzip_on et al. directives to turn it on.
Note: this will only save you BANDWITH not space on the server. Because documents/files are encoded on the fly.
You can also serve zipped content with mod_negotiation, which is part of the standard apache install. Its a bit more work setting up the content types but it works just as well.
You can just use shell commands. In other words, pipe them into shell. Most shells have zip already installed so you could use the function 'system' in perl to call that program and zip your files.
<a href="http://www2.famoushost.com/home.php" target="_blank"><b><FONT COLOR="FFFF00">www.FamousHost.com</font></b></a><br>Free Hosting With No Headers, Real FTP, <u>Get listed on the biggest TGP's with us!</u>
Comment