Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Have Apache Decompress XZ's on Retrieve
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1227
Location: Jefferson, USA

PostPosted: Sat Apr 27, 2013 7:07 pm    Post subject: Have Apache Decompress XZ's on Retrieve Reply with quote

For a specific directory, Is there a way I can get Apache to decompress files ending with XZ as it returns them to the client?
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1411

PostPosted: Tue Apr 30, 2013 7:05 pm    Post subject: Reply with quote

Apache only Serves, to do what you ask:
1. Apache serves the file to client
2. Script on client's computer would run every x minutes in <dir>, decompressing y number of files all ending in xz
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2525
Location: UK

PostPosted: Tue Apr 30, 2013 9:27 pm    Post subject: Reply with quote

You can use mod_ext_filter to achieve this, shouldn't be too hard.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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