<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem witch appdirector+apache+jboss in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-witch-appdirector-apache-jboss/m-p/4201140#M32628</link>
    <description>At first place excuse me because my bad english. I have propound the following question. I have the following architecture. &lt;BR /&gt;&lt;BR /&gt; ISP &amp;lt;---&amp;gt; APPdirector Radware &amp;lt;--&amp;gt; Farm &amp;lt;--&amp;gt; Server&lt;BR /&gt;&lt;BR /&gt;The server contain the following:&lt;BR /&gt;&lt;BR /&gt; Apache2 (with mod_proxy and mod_rewrite) ---Apache pass request to ---&amp;gt; JBOSS (Five Aplication web).&lt;BR /&gt;&lt;BR /&gt; Especification Apache2:&lt;BR /&gt;Apache only listen 443.&lt;BR /&gt;All aplication are encripted witch ssl.&lt;BR /&gt;Request that arrive to apache it is transformer the following way:&lt;BR /&gt;&lt;BR /&gt;  RewriteEngine on&lt;BR /&gt;&lt;BR /&gt;          RewriteLog /var/log/httpd/rewrite.log&lt;BR /&gt;&lt;BR /&gt;          RewriteLogLevel 3&lt;BR /&gt;&lt;BR /&gt;          RewriteMap ports        txt:/etc/httpd/http.txt&lt;BR /&gt;&lt;BR /&gt;  SSLEngine On&lt;BR /&gt;&lt;BR /&gt;  SSLCertificateFile /etc/httpd/certificados/newcert.pem&lt;BR /&gt;&lt;BR /&gt;  SSLCertificateKeyFile /etc/httpd/certificados/key.pem&lt;BR /&gt;&lt;BR /&gt;  RewriteCond %{HTTP_HOST} "(.*)\.midominio\.com"&lt;BR /&gt;&lt;BR /&gt;  RewriteRule ^/(.*)$    http://%1.localhost:${ports:%1}/ [P] &lt;BR /&gt;  &lt;BR /&gt;   File [http.txt] contain:&lt;BR /&gt;   uno       8080&lt;BR /&gt;&lt;BR /&gt;   dos        8180&lt;BR /&gt;&lt;BR /&gt;   tres         8280&lt;BR /&gt;&lt;BR /&gt;   cuatro     8380&lt;BR /&gt;&lt;BR /&gt;   cinco       8480&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Apache used wildcard certificate for support all aplication web.&lt;BR /&gt;&lt;BR /&gt; Especification Jboss :&lt;BR /&gt;&lt;BR /&gt;There are five instances for Jboss and all it is listening on port diferent, i.e:&lt;BR /&gt;Aplication 1: 8080&lt;BR /&gt;Aplication 2: 8180&lt;BR /&gt;Aplication 3: 8280&lt;BR /&gt;...&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt; The restriction is that only I have one IP and only it can open the por 443.&lt;BR /&gt; The problem  is following:&lt;BR /&gt;&lt;BR /&gt; User type in your web browser: uno.midominio.com and  after timeout show uno.midominio.com:8080.&lt;BR /&gt;&lt;BR /&gt; The request arrive to Appdirector this choose de Farm respective and redirect to server, When it is on the server apache receive the resquest and apply mod_rewrite and it send through proxy_reverse to jboss.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Note:&lt;BR /&gt;  - Module rewrite of apache correct perform, how show the log file.</description>
    <pubDate>Tue, 20 May 2008 07:09:04 GMT</pubDate>
    <dc:creator>Jaime Traver</dc:creator>
    <dc:date>2008-05-20T07:09:04Z</dc:date>
    <item>
      <title>Problem witch appdirector+apache+jboss</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-witch-appdirector-apache-jboss/m-p/4201140#M32628</link>
      <description>At first place excuse me because my bad english. I have propound the following question. I have the following architecture. &lt;BR /&gt;&lt;BR /&gt; ISP &amp;lt;---&amp;gt; APPdirector Radware &amp;lt;--&amp;gt; Farm &amp;lt;--&amp;gt; Server&lt;BR /&gt;&lt;BR /&gt;The server contain the following:&lt;BR /&gt;&lt;BR /&gt; Apache2 (with mod_proxy and mod_rewrite) ---Apache pass request to ---&amp;gt; JBOSS (Five Aplication web).&lt;BR /&gt;&lt;BR /&gt; Especification Apache2:&lt;BR /&gt;Apache only listen 443.&lt;BR /&gt;All aplication are encripted witch ssl.&lt;BR /&gt;Request that arrive to apache it is transformer the following way:&lt;BR /&gt;&lt;BR /&gt;  RewriteEngine on&lt;BR /&gt;&lt;BR /&gt;          RewriteLog /var/log/httpd/rewrite.log&lt;BR /&gt;&lt;BR /&gt;          RewriteLogLevel 3&lt;BR /&gt;&lt;BR /&gt;          RewriteMap ports        txt:/etc/httpd/http.txt&lt;BR /&gt;&lt;BR /&gt;  SSLEngine On&lt;BR /&gt;&lt;BR /&gt;  SSLCertificateFile /etc/httpd/certificados/newcert.pem&lt;BR /&gt;&lt;BR /&gt;  SSLCertificateKeyFile /etc/httpd/certificados/key.pem&lt;BR /&gt;&lt;BR /&gt;  RewriteCond %{HTTP_HOST} "(.*)\.midominio\.com"&lt;BR /&gt;&lt;BR /&gt;  RewriteRule ^/(.*)$    http://%1.localhost:${ports:%1}/ [P] &lt;BR /&gt;  &lt;BR /&gt;   File [http.txt] contain:&lt;BR /&gt;   uno       8080&lt;BR /&gt;&lt;BR /&gt;   dos        8180&lt;BR /&gt;&lt;BR /&gt;   tres         8280&lt;BR /&gt;&lt;BR /&gt;   cuatro     8380&lt;BR /&gt;&lt;BR /&gt;   cinco       8480&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Apache used wildcard certificate for support all aplication web.&lt;BR /&gt;&lt;BR /&gt; Especification Jboss :&lt;BR /&gt;&lt;BR /&gt;There are five instances for Jboss and all it is listening on port diferent, i.e:&lt;BR /&gt;Aplication 1: 8080&lt;BR /&gt;Aplication 2: 8180&lt;BR /&gt;Aplication 3: 8280&lt;BR /&gt;...&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt; The restriction is that only I have one IP and only it can open the por 443.&lt;BR /&gt; The problem  is following:&lt;BR /&gt;&lt;BR /&gt; User type in your web browser: uno.midominio.com and  after timeout show uno.midominio.com:8080.&lt;BR /&gt;&lt;BR /&gt; The request arrive to Appdirector this choose de Farm respective and redirect to server, When it is on the server apache receive the resquest and apply mod_rewrite and it send through proxy_reverse to jboss.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Note:&lt;BR /&gt;  - Module rewrite of apache correct perform, how show the log file.</description>
      <pubDate>Tue, 20 May 2008 07:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-witch-appdirector-apache-jboss/m-p/4201140#M32628</guid>
      <dc:creator>Jaime Traver</dc:creator>
      <dc:date>2008-05-20T07:09:04Z</dc:date>
    </item>
  </channel>
</rss>

