You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2010/11/28 23:10:21 UTC

DO NOT REPLY [Bug 50354] clearify ModMimeUsePathInfo documentation

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

--- Comment #1 from Igor Galić <i....@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