Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Automatically uncompressing gzipped or pkzipped files usin..

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  primary web site works, but virtual directories d..  
Author Message
JW

External


Since: Oct 06, 2005
Posts: 1



(Msg. 1) Posted: Thu Oct 06, 2005 10:41 am
Post subject: Automatically uncompressing gzipped or pkzipped files using Apache 2.0.46 on RH
Archived from groups: alt>apache>configuration (more info?)

Okay, there has gotta be an easy answer to this... Smile

I have various large .html and .txt files stored on the Web server that
will be, due to their megabyte sizes, compressed either with gzip (.gz)
or pkzip/zip (.zip). I want to set up Web pages with HREF URLs that
reference these. In my httpd.conf, I have:

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz

and I have tried various combinations of:

<IfModule mod_deflate.c>
# Insert filter
AddInputFilter DEFLATE .gz
# or # SetInputFilter DEFLATE
</IfModule>

But every time I either access the URLs containing filenames like
'web_page.html.gz' or 'web_page.htm.zip', both MS Internet Exploder and
Firefox pop up the file-save window prompt. I understand that certain
UNIX/Xwindows browsers like (Mosaic/X 2.1+) can uncompress these on the
fly. But nearly all of the browsers that will be ccessing this internal
Web server will be MSIE on Windoze.

Is there a way to set up my Apache such that I can store the .htm/.html
and .txt files in compressed version using either gzip, compress, or
pkzip/zip and automatically displayed on MSIE?

TIA!!

 >> Stay informed about: Automatically uncompressing gzipped or pkzipped files usin.. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]