httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53947] New: Feature Request, RewriteRule - ProxyPreserveHost flag (and related)
Date Sat, 29 Sep 2012 17:39:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53947

          Priority: P2
            Bug ID: 53947
          Assignee: bugs@httpd.apache.org
           Summary: Feature Request, RewriteRule - ProxyPreserveHost flag
                    (and related)
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Reporter: 131.apache@cloudyks.org
          Hardware: PC
            Status: NEW
           Version: 2.5-HEAD
         Component: mod_rewrite
           Product: Apache httpd-2

Hi
- ProxyPreserveHost is a server conf directive only, and in my opinion, a must
have feature for in all cluster & lb related proxy configuration.
- RewriteRule [P] is a very usefull directive for migrating a specific part of
an application to another server

- There should be very little depency between a cluster IP and a service name
(domain name) - that's the whole purpose  of ProxyPreserveHost

In massive name base virtualhost environnement, i have only ONE virtualhost
<Virtualhost>
  ServerAlias allalloweddomains.tld
  VirtualDocumentRoot /etc/httpd/redirector/%0
</VirtualHost>

I cannot enable ProxyPreserveHost on the whole Virtualhost (location /services/
is irrelevant).

I'm asking for 
* enabling ProxyPreserveHost in .htaccess ? [OR]
* creating an inline ProxyPreserveHost RewriteRule flag

Therefore, the
RewriteCond %QUERY_STRING ClassName=SpecificSOAPWSClass
RewriteCond (.*)  http:// [cluster ip with upcomming architecture evolution]/$1
[P,PPH]

Would work as supposed.
New apache extensions mod_remoteip are (kindeof) around same kind of proxy/lb
transparency issue.


In the same spirit, ProxyImposeHost might also be usefull
RewriteCond (.*)  http:// [cluster ip with upcomming architecture evolution]/$1
[P,PIH=newfeature.domain.com]

I hope you'll agree with this new feature.

Best Regards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message