Web Connector's virtual-server binding causes 403s
Issue
- We bound our connector to a virtual-server. Now all requests to that connector receive a 403 response.
<subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" >
<virtual-server name="virtualServerName"/>
</connector>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
<virtual-server name="virtualServerName" enable-welcome-root="false" default-web-module="test.war">
<alias name="hostname"/>
</virtual-server>
</subsystem>
Environment
- JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.