-
1. Re: Forwarding from Jboss over Apache using mod_proxy withou
argonist Oct 31, 2007 3:59 PM (in response to argonist)Do you understand my problem? Sorry for my english.
If I call url, then I get only plain text without picture and css. Maybe it is problem at ajp. It should be used http-forwarding?
Manu -
2. Re: Forwarding from Jboss over Apache using mod_proxy withou
brian.stansberry Oct 31, 2007 4:56 PM (in response to argonist)I understand your problem, but really have no idea what the issue is. You said "If I call url, then I get only plain text without picture and css". Have you tried directly requesting the url of the image or css file; i.e. don't let the browser do it by parsing your HTML; instead you type it in the browser's address bar?
Warning: I am not at all an expert in mod_proxy; I mostly deal with mod_jk. So, other folks in the community, if you know anything, don't be shy; speak up! -
3. Re: Forwarding from Jboss over Apache using mod_proxy withou
argonist Nov 1, 2007 4:35 AM (in response to argonist)I tried directly requesting the url with ports 8080 and the picture and css are shown. At the forwarding url is shown only plain text.
I will try only http-forwarding today or tomorrow and compare betwenn http- and ajp-forwarding.
Manu -
4. Re: Forwarding from Jboss over Apache using mod_proxy withou
brian.stansberry Nov 1, 2007 2:29 PM (in response to argonist)It's not clear to me from your reply exactly what URLs you are invoking, so I'm not sure if you are trying what I suggested. lf you still have troubles, please include in your reply the exact URLs you are invoking when it works and when it doesn't.
-
5. Re: Forwarding from Jboss over Apache using mod_proxy withou
argonist Nov 2, 2007 5:49 AM (in response to argonist)Ok, I explain clearly apain.
If I am invoking URL with ports 8080 "www.ponte-net.de:8080", it works fine.
The ports 8080 is behind firewall and should be forwarded using mod_proxy.
If I am invoking URL with normal ports 80 "www.ponte-net.de", it is shown only text without image and css.
Manu -
6. Re: Forwarding from Jboss over Apache using mod_proxy withou
brian.stansberry Nov 2, 2007 10:48 AM (in response to argonist)OK, unless your image or css file is the welcome page in the root webapp, you haven't directly requested the image or css; you've requested an html document, and the browser then requests the image or css when it parses the html of your welcome page.
So, let's pretend the name of the image embedded in your welcome page is "welcome.jpg". Please try:
http://www.ponte-net.de:8080/welcome.jpg
and
http://www.ponte-net.de/welcome.jpg -
7. Re: Forwarding from Jboss over Apache using mod_proxy withou
argonist Nov 5, 2007 3:45 AM (in response to argonist)Hello,
now I solved my problem.
It's reallay strange. If I invoke url www.ponte-net.de, I get only plain text. If I invoke url with index.html www.ponte-net.de/index.html, I get html text. Can someone explain why, please?
Manu -
8. Re: Forwarding from Jboss over Apache using mod_proxy withou
umailkamal Apr 15, 2008 10:20 AM (in response to argonist)Hi Manu & JBOSS Team:
Thanks a lot for your help and providing such a great solution to me!
I was struggling with Apache + JBOSS + mod_proxy configuration and the below url helped me a lot!
In fact i was able to complete my project prior to 10 days because of this article.
Mod_jk contains many loop holes and it takes lot of time!
The best stable and available version now apache 2.2.8 which resolved many of my problems.
Thanks and Regards
Kamalakar -
9. Re: Forwarding from Jboss over Apache using mod_proxy withou
umailkamal Apr 15, 2008 10:24 AM (in response to argonist)Here is my code resolved the issue!
<IfModule mod_proxy.c>
<Proxy balancer://sysmaintenance>
Order deny,allow
Allow from all
BalancerMember http://localhost:8180/sysmaintenance
<Proxy balancer://fcls>
Order deny,allow
Allow from all
BalancerMember http://localhost:8080/fcls
<Proxy balancer://lrwjsp>
Order deny,allow
Allow from all
BalancerMember http://localhost:8280/lrwjsp
ProxyPass /sysmaintenance balancer://sysmaintenance
ProxyPass /fcls balancer://fcls
ProxyPass /lrwjsp balancer://lrwjsp
ProxyIOBufferSize 19000
LimitRequestFieldsize 18000 -
10. Re: Forwarding from Jboss over Apache using mod_proxy withou
umailkamal Apr 15, 2008 10:29 AM (in response to argonist)"umailkamal" wrote:
Here is my code resolved the issue!
<IfModule mod_proxy.c>
<Proxy balancer://sysmaintenance>
Order deny,allow
Allow from all
BalancerMember http://localhost:8180/sysmaintenance
</Proxy>
<Proxy balancer://fcls>
Order deny,allow
Allow from all
BalancerMember http://localhost:8080/fcls
</Proxy>
<Proxy balancer://lrwjsp>
Order deny,allow
Allow from all
BalancerMember http://localhost:8280/lrwjsp
</Proxy>
ProxyPass /sysmaintenance balancer://sysmaintenance
ProxyPass /fcls balancer://fcls
ProxyPass /lrwjsp balancer://lrwjsp
ProxyIOBufferSize 19000
LimitRequestFieldsize 18000
</IfModule> -
11. Re: Forwarding from Jboss over Apache using mod_proxy withou
brian.stansberry Apr 15, 2008 10:47 AM (in response to argonist)Glad things are working well for you. You mentioned a "below url" that helped you but I don't see it in your post. Can you add it?
-
12. Re: Forwarding from Jboss over Apache using mod_proxy withou
umailkamal Apr 18, 2008 6:46 AM (in response to argonist)Hi Brian:
Here you go! [ Same post but at the begining]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossOnPort80 and
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100168#4100168
Regards
Kamal