httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50354] clearify ModMimeUsePathInfo documentation
Date Sun, 28 Nov 2010 22:10:21 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50354

--- Comment #1 from Igor Galić <i.galic@brainsware.org> 2010-11-28 17:10:19 EST ---
I think the confusion starts with:

"""If you have a request for /bar/foo.shtml where /bar is a Location and
ModMimeUsePathInfo is On"""

Given that it's not linked to the <Location> documentation, and not put in
<code> either, but still written with a a capital ``L'' is very confusing.


I think the example would be much more clear if we added something like:

<Location /bar>
  AddOutputFilter INCLUDES .shtml
  ModMimeUsePathInfo On
</Location>

If /bar is part of your application, that for some obscure reason produces
.shtml output, httpd will now parse it.

Or how about:

<Location /bar>
    AddOutputFilter DEFLATE .html
    ModMimeUsePathInfo On
</Location>

Adding now .html to your fancy SEO URLs will have your content compressed on
the fly.


Of course the same is valid if you have Links like
/index.php/modulename/actionname/idnumber.html

<Files index.php>
  AddOutputFilter INCLUDES .shtml
  AddOutputFilter DEFLATE .html
  ModMimeUsePathInfo On
</Files>

etc...

Does that make more sense now? Should I add that to the docs?

-- 
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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message