httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36506] New: - Documentation for mod_rewrite implies "RewriteOptions inherit" will also inherit "RewriteEngine On"
Date Mon, 05 Sep 2005 15:38:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36506>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36506

           Summary: Documentation for mod_rewrite implies "RewriteOptions
                    inherit" will also inherit "RewriteEngine On"
           Product: Apache httpd-1.3
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: m.kooijman@student.utwente.nl
                CC: m.kooijman@student.utwente.nl


Documentation for mod_rewrite lists the following line for "RewriteEngine":
"Note that, by default, rewrite configurations are not inherited. This means
that you need to have a RewriteEngine on directive for each virtual host in
which you wish to use it."
This ("by default") implies that the "RewriteEngine" can be made inheritable.

Furthermore, the documentation lists the following for "RewriteOptions":
"inherit
    This forces the current configuration to inherit the configuration of the
parent. In per-virtual-server context this means that the maps, conditions and
rules of the main server are inherited. In per-directory context this means that
conditions and rules of the parent directory's .htaccess configuration are
inherited."

This says that the "configuration" is inherited, which seems to mean only a
"RewriteOptions inherit" is needed in each vhost to inherit all settings.

In practice, you also need a "RewriteEngine On" for each vhost. This should be
mentioned somewhere.

Additionally one could wonder if a "RewriteEngine On" would be neccesary at all
in each vhost, but that is beside the point here :-)

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

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


Mime
View raw message