Note that there are some explanatory texts on larger screens.

plurals
  1. POwhy I failed in JBoos-7 Virtual Hosting with mod_proxy?
    primarykey
    data
    text
    <p>I am trying to make Jboss-7 deployment work with mod_proxy on port 80, but I faced problem</p> <p>1- I modified the standaloan.xml</p> <pre><code>&lt;subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"&gt; &lt;connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/&gt; &lt;virtual-server name="default-host" enable-welcome-root="true" default-web-module="filemanager"&gt; &lt;alias name="localhost"/&gt; &lt;alias name="example.com"/&gt; &lt;/virtual-server&gt; &lt;virtual-server name="AyeServer" default-web-module="mydeployemnt"&gt; &lt;alias name="mydomain.com"/&gt; &lt;/virtual-server&gt; &lt;/subsystem&gt; </code></pre> <p>2- I created jboss-web.xml inside WEB-INF with this content</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;jboss-web xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_7_1.xsd"&gt; &lt;context-root&gt;/&lt;/context-root&gt; &lt;virtual-host&gt;www.mydomain.com&lt;virtual-host&gt; &lt;/jboss-web&gt; </code></pre> <p>3- in httpd.conf I add to the end of file this content</p> <pre><code>&lt;VirtualHost *:80&gt; ServerName mydomain.com ProxyPreserveHost On ProxyPass / http://localhost:8080/mydeployment ProxyPassReverse / http://localhost:8080/mydeployment DocumentRoot /var/www &lt;Directory /var/www&gt; Options -Indexes Order allow,deny Allow from all &lt;/Directory&gt; &lt;/VirtualHost&gt; </code></pre> <p>but nothing work when I call mydomain.com</p> <p>any help?</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload