LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-30-2014, 11:48 PM   #1
shenbagam
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
Help with modcluster configuration of httpd in jboss environment


1.we are tring to convert the /cxf/NavitaireWS request to /app-navitaire-ws-0.1/ in modcluster configuration of httpd in jboss environment


2.Modules enabled in httpd.conf are

LoadModule authz_host_module modules/mod_authz_host.so

LoadModule include_module modules/mod_include.so

LoadModule log_config_module modules/mod_log_config.so

LoadModule logio_module modules/mod_logio.so

LoadModule env_module modules/mod_env.so

LoadModule setenvif_module modules/mod_setenvif.so

LoadModule alias_module modules/mod_alias.so

LoadModule rewrite_module modules/mod_rewrite.so

LoadModule proxy_module modules/mod_proxy.so

LoadModule snmpcommon_module modules/libsnmpcommon.so

LoadModule snmpagt_module modules/libsnmpmonagt.so

Tried methods
1.ProxyPass /cxf/NavitaireWS balancer://jq-test/app-navitaire-ws-0.1/ but still it is passing as /cxf/NavitaireWS to worker nodes
2.# RewriteEngine on

#RewriteCond %{HTTP_REFERER} ^balancer?://jq-test(/|$)

#RewriteRule ^/cxf/([0-9]{4})/([-a-z]*)(.*) /app-navitaire-ws-0.1/NavitaireWS [NC,L]
3.#ProxyPass /app-navitaire-ws-0.1/ balancer://jq-test/

#ProxyPassReverse /cxf/NavitaireWS/ balancer://jq-test/app-navitaire-ws-0.1 which is also not working
4.#ProxyPreserveHost On
#ProxyPass /cxf/NavitaireWS/ balancer://jq-test/app-navitaire-ws-0.1/
5. i.Created folder jboss.web/localhost in /usr/local/jboss/jboss-soa/jboss-as/server/production/conf of esb01 and esb02

ii.Created rewrite.properties inside jboss.web/localhost in esb01 and esb02

iii.Adding the content RewriteRule /cxf/NavitaireWS http://ipaddress/app-navitaire-ws-0.1/NavitaireWS inside rewrite.properties in in worker nodes

iv.Added <Valve className="org.jboss.web.rewrite.RewriteValve" /> in server.xml
6.#Redirect permanent /cxf/NavitaireWS balancer://jq-test/app-navitaire-ws-0.1/NavitaireWS/

#ProxyPass /app-navitaire-ws-0.1/NavitaireWS/ balancer://jq-test/app-navitaire-ws-0.1/NavitaireWS/

Result:

When we sent request to Load balancer it is tranferig the request in the form /cxf/NavitaireWS instead of /app-navitaire-ws-0.1/NavitaireWS/ and below is the reponse

<html><head>

<title>404 Not Found</title>

</head><body>

<h1>Not Found</h1>

<p>The requested URL /cxf/NavitaireWS was not found on this server.</p>

<hr>

<address>Apache/2.2.11 (Fedora) Server at ipaddress Port 80</address>

</body></html>

can any body help in this

Last edited by onebuck; 08-01-2014 at 05:19 PM. Reason: clean title
 
Old 07-31-2014, 12:00 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Not today
 
Old 07-31-2014, 01:11 AM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Hi and welcome to LQ.

Please use more descriptive titles to make sure you'll have quicker and more relevant answers.
Giving your thread the title 'urgent' is just asking for replies as above - we are all volunteers who devote their free time to helping others. No problem is more 'urgent' than other to us and therefore should not be labelled as such. Demanding special attention is seen as rude here.


On another note, please use code tags to wrap your code snippets.

Try to edit your title and give it a meaningful title - that way someone who can answer your question is more likely to spot this thread

Last edited by sycamorex; 07-31-2014 at 01:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration