https://issues.apache.org/bugzilla/show_bug.cgi?id=47344
Summary: [FEATURE REQUEST] New "Redirect" argument to UseCanonicalName Product: Apache httpd-2 Version: 2.3-HEAD Platform: All URL: http://httpd.apache.org/docs/2.2/mod/core.html#usecano nicalname OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: bugs@httpd.apache.org ReportedBy: rbo...@apache.org I'd like a new argument to UseCanonicalName. The current syntax of UseCanonicalName is: UseCanonicalName On|Off|DNS I'd like a fourth option, 'Redirect', which would do the same thing as: RewriteRule (.*) http://$SERVERNAME/$1 [R,L] That is, any request that's received on a ServerAlias will be immediately redirected to the canonical ServerName value. The justifications for this are numerous, from preserving the right hostname in cookies, to ensuring the right hostname for SSL certificates, to the eternal (if occasionally misguided) quest for SEO brownie points. This also goes under the general heading of my quest to see mod_rewrite become unnecessary except for the gravest situations. :-) -- 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: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org