>Number:         2651
>Category:       general
>Synopsis:       Feature Request: Allow content-negotiation through on-the-fly 
>Actions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Tue Jul 21 04:50:01 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.0
>Environment:
N/A
>Description:
I would like to provide on-the-fly compression and tar files through Apache.
e.g. a request for release.tar.gz compresses release.tar

Currently if the file does not exist, the custom Action is not called. The 
compression can be done through the ErrorDocument, but the error code is sent
already and this solution seems inelegant to me.
>How-To-Repeat:

>Fix:
Add a new directive: Generate: <mime-type> <script> which will call the script.
The script can either send an existing file or provide some sort of automatic 
generation. In addition to the obvious compression and archiving ability, simple
content-negotiation could be used.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to