HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Problem witch appdirector+apache+jboss
Operating System - Linux
1828779
Members
2676
Online
109985
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 12:09 AM
05-20-2008 12:09 AM
Problem witch appdirector+apache+jboss
At first place excuse me because my bad english. I have propound the following question. I have the following architecture.
ISP <---> APPdirector Radware <--> Farm <--> Server
The server contain the following:
Apache2 (with mod_proxy and mod_rewrite) ---Apache pass request to ---> JBOSS (Five Aplication web).
Especification Apache2:
Apache only listen 443.
All aplication are encripted witch ssl.
Request that arrive to apache it is transformer the following way:
RewriteEngine on
RewriteLog /var/log/httpd/rewrite.log
RewriteLogLevel 3
RewriteMap ports txt:/etc/httpd/http.txt
SSLEngine On
SSLCertificateFile /etc/httpd/certificados/newcert.pem
SSLCertificateKeyFile /etc/httpd/certificados/key.pem
RewriteCond %{HTTP_HOST} "(.*)\.midominio\.com"
RewriteRule ^/(.*)$ http://%1.localhost:${ports:%1}/ [P]
File [http.txt] contain:
uno 8080
dos 8180
tres 8280
cuatro 8380
cinco 8480
Apache used wildcard certificate for support all aplication web.
Especification Jboss :
There are five instances for Jboss and all it is listening on port diferent, i.e:
Aplication 1: 8080
Aplication 2: 8180
Aplication 3: 8280
...
The restriction is that only I have one IP and only it can open the por 443.
The problem is following:
User type in your web browser: uno.midominio.com and after timeout show uno.midominio.com:8080.
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.
Note:
- Module rewrite of apache correct perform, how show the log file.
ISP <---> APPdirector Radware <--> Farm <--> Server
The server contain the following:
Apache2 (with mod_proxy and mod_rewrite) ---Apache pass request to ---> JBOSS (Five Aplication web).
Especification Apache2:
Apache only listen 443.
All aplication are encripted witch ssl.
Request that arrive to apache it is transformer the following way:
RewriteEngine on
RewriteLog /var/log/httpd/rewrite.log
RewriteLogLevel 3
RewriteMap ports txt:/etc/httpd/http.txt
SSLEngine On
SSLCertificateFile /etc/httpd/certificados/newcert.pem
SSLCertificateKeyFile /etc/httpd/certificados/key.pem
RewriteCond %{HTTP_HOST} "(.*)\.midominio\.com"
RewriteRule ^/(.*)$ http://%1.localhost:${ports:%1}/ [P]
File [http.txt] contain:
uno 8080
dos 8180
tres 8280
cuatro 8380
cinco 8480
Apache used wildcard certificate for support all aplication web.
Especification Jboss :
There are five instances for Jboss and all it is listening on port diferent, i.e:
Aplication 1: 8080
Aplication 2: 8180
Aplication 3: 8280
...
The restriction is that only I have one IP and only it can open the por 443.
The problem is following:
User type in your web browser: uno.midominio.com and after timeout show uno.midominio.com:8080.
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.
Note:
- Module rewrite of apache correct perform, how show the log file.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP