[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-86) Interaction with mod_rewrite looks weird for end-users
Michal Babacek (JIRA)
issues at jboss.org
Fri Aug 8 06:26:41 EDT 2014
[ https://issues.jboss.org/browse/MODCLUSTER-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Babacek closed MODCLUSTER-86.
------------------------------------
Closing. Clean-up.
At least one of the following applies:
* the issue has been thoroughly tested as a part of one of the current releases
or
* it hasn't occurred in ~2 years
or
* it's utterly harmless
> Interaction with mod_rewrite looks weird for end-users
> ------------------------------------------------------
>
> Key: MODCLUSTER-86
> URL: https://issues.jboss.org/browse/MODCLUSTER-86
> Project: mod_cluster
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.1.GA
> Environment: Use mod_rewrite and mod_cluster
> Reporter: Jean-Frederic Clere
> Assignee: Jean-Frederic Clere
> Fix For: 1.1.0.Beta1
>
>
> Use mod_cluster with a JBoss with the application myapp (myapp.war) and use the following in httpd.conf:
> RewriteEngine On
> RewriteCond %{HTTP_HOST} ^cluster\.domain\.com [NC]
> RewriteRule ^/$ /myapp/MyCount [PT]
> As /myapp is mapped to JBoss you would except / on cluster.domain.com to go to /myapp/MyCount in JBoss unfortunately it goes to /.
> You would except it goes to /myapp/MyCount as it does when to you a ProxyPass directive:
> ProxyPass /myapp http://localhost:8080/myapp
> Internals:
> [debug] mod_proxy_cluster.c(1703): proxy_cluster_trans for 0 passthrough:/myapp/MyCount (null) uri: /myapp/MyCount args: (null) unparsed_uri: /
> in get_balancer_by_node() we use r->uri (/myapp/MyCount in the case) to map to the application.
> in proxy_cluster_trans we do: r->filename = apr_pstrcat(r->pool, "proxy:balancer://", balancer, r->unparsed_uri, NULL);
>
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the mod_cluster-issues
mailing list