httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 64042] New: Extend documentation of FallbackResource to give an example of usage
Date Mon, 30 Dec 2019 12:38:54 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=64042

            Bug ID: 64042
           Summary: Extend documentation of FallbackResource to give an
                    example of usage
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: apache@springtimesoftware.com
  Target Milestone: ---

https://httpd.apache.org/docs/trunk/en/mod/mod_dir.html includes documentation
for FallbackResource. In this documentation it gives the use case of a 'front
controller,' implying that redirecting to a single file using FallbackResource
allows that file to access the original URL specified by the user's request.

But the description does not explain how to obtain the original URL.

I suggest that the documentation would be more helpful if it explained how to
do this in various server languages, or at least in one.

For example, in PHP, the domain is available in $_SERVER['HTTP_HOST'] and the
original URL (except for any anchor portion) is available in
$_SERVER['REQUEST_URI'].

On my computer, I cannot contribute to the Comments section at the bottom of
the page to contribute this suggestion. That section is readonly, with no
explanation that I can find. So I am submitting this ticket.

I am submitting this for 2.5, but of course it applies to 2.4 versions as well.
I am hoping the documentation could be extended to help other developers.

-- 
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