You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/06/13 18:18:07 UTC

DO NOT REPLY [Bug 11580] generate Content-Location headers

https://issues.apache.org/bugzilla/show_bug.cgi?id=11580





--- Comment #4 from Jose Kahan <jo...@w3.org>  2008-06-13 09:18:06 PST ---
Created an attachment (id=22124)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22124)
adds new directive to mod_dir for returning CL on URIs that end on '/'(patch
against 2.2.8)

This patch adds a new directive to mod_dir for returning the Content-Location
for URIs that end in '/'. The feature is turned off by default and can be used
together with mod_setenvif.

Description:    Returns the Content-Location for URis that end in '/'
Syntax:         DirectoryRevealContentLocation on:off [env=var]
Default:        DirectoryRevealContentLocation off
Context:        server config, virtual host, directory, .htaccess
Module: mod_dir


An example on making the C-L return conditional to the User-Agent:

BrowserMatch lwp reveal-cl
DirectoryRevealContentLocation on env=reveal-cl

I'll resubmit it against 2.2.9 and trunk in a couple of days. There shouldn't
be too much change.

-jose


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org