You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/07/17 02:00:30 UTC
DO NOT REPLY [Bug 21670] New: -
Canonical Hostnames example in Rewriting Guide is broken
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: bugs@httpd.apache.org
ReportedBy: jvb@prairienet.org
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org