DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21670>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21670

Canonical Hostnames example in Rewriting Guide is broken

           Summary: Canonical Hostnames example in Rewriting Guide is broken
           Product: Apache httpd-2.0
           Version: 2.0.46
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Documentation
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The canonical hostnames example in the Rewriting Guide does not work as written.
 I found that I need to change the regex's from "^/(.*)" to "^(.*)".  For
example, where the example shows 

    RewriteRule  ^/(.*)  http://fully.qualified.domain.name/$1  [L,R]

I had to use

    RewriteRule  ^(.*)  http://fully.qualified.domain.name/$1  [L,R]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to