FAQ
Guys,

We are switching out mod_ajp for mod_jk and have ran into a wall with ProxyPass and ProxyPassReverse.

With mod_ajp we have this setting


<Proxy balancer://potapp>
BalancerMember ajp://tomcat05:8009 smax=20 min=0 max=10 loadfactor=1 flushpackets=on route=node1
BalancerMember ajp://tomcat06:8009 smax=20 min=0 max=10 loadfactor=1 flushpackets=on route=node1
</Proxy>


ProxyPass /travelchannel balancer://potapp/travelchannel/
ProxyPassReverse /travelchannel balancer://potapp/travelchannel/

ProxyPass /travel balancer://potapp/travel/
ProxyPassReverse /travel balancer://potapp/travel/

ProxyPass /AppConsole balancer://potapp/AppConsole/
ProxyPassReverse /AppConsole balancer://potapp/AppConsole/


When we try to use these setting that work with mod_ajp, we get a 404 with mod_jk. I have no clue. Do I need to do something different with ProxyPass/ProxyPassReverse? I been seaching the net with no luck.

CHUCK PAYNE | Unix System Administrator

TRAVEL CHANNEL MEDIA
3700 Mansell Rd, Suite 500
Alpharetta, GA 30022
Office: 404-269-5533
Blackberry: 770-940-7765
email:chuck.payne@travelchannel.com

CATCH IT | travelchannel.com

Need IT help? Go to http://Keystoneweb.corp.cox.com
Or contact us at Support@TravelChannel.com / 301-244-7777
Cox Communications Help Desk (24 X 7 X 365): 800-637-3545
------------------------------------
This e-mail and any attachments are intended only for the person to whom (or entity to which) it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, copying, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The contents of this message may contain personal views that are not the views of The Travel Channel, L.L.C.

TRAVEL BUG EFFECT: Strong Attraction to Haunted Places
Ghost Adventures, Fridays at 9PM E/P
CATCH IT | travelchannel.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Search Discussions

  • Mark Watts at Nov 17, 2009 at 3:31 pm

    On Tue, 2009-11-17 at 10:21 -0500, Chuck.Payne@TravelChannel.com wrote:
    Guys,

    We are switching out mod_ajp for mod_jk and have ran into a wall with ProxyPass and ProxyPassReverse.
    Most people ditch mod_jk for mod_proxy_ajp.
    Care to elaborate as to why mod_proxy_ajp isn't working for you?

    Mark.

    --
    Mark Watts BSc RHCE MBCS
    Senior Systems Engineer, Managed Services Manpower
    www.QinetiQ.com
    QinetiQ - Delivering customer-focused solutions
    GPG Key: http://www.linux-corner.info/mwatts.gpg
  • Chuck Payne at Nov 17, 2009 at 4:42 pm
    Because we are running productions, as stated on the Apache site in BOLD letters, mod_ajp is not for production use. We see our jboss down with it.

    CHUCK PAYNE | Unix System Administrator

    TRAVEL CHANNEL MEDIA
    3700 Mansell Rd, Suite 500
    Alpharetta, GA 30022
    Office: 404-269-5533
    Blackberry: 770-940-7765
    email:chuck.payne@travelchannel.com

    CATCH IT | travelchannel.com

    Need IT help? Go to http://Keystoneweb.corp.cox.com
    Or contact us at Support@TravelChannel.com / 301-244-7777
    Cox Communications Help Desk (24 X 7 X 365): 800-637-3545
    ------------------------------------
    This e-mail and any attachments are intended only for the person to whom (or entity to which) it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, copying, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The contents of this message may contain personal views that are not the views of The Travel Channel, L.L.C.
    ________________________________________
    From: Mark Watts [m.watts@eris.qinetiq.com]
    Sent: Tuesday, November 17, 2009 10:30 AM
    To: users@httpd.apache.org
    Subject: Re: [users@httpd] Question about mod_ajp and mod_jk ProxyPassReverse
    On Tue, 2009-11-17 at 10:21 -0500, Chuck.Payne@TravelChannel.com wrote:
    Guys,

    We are switching out mod_ajp for mod_jk and have ran into a wall with ProxyPass and ProxyPassReverse.
    Most people ditch mod_jk for mod_proxy_ajp.
    Care to elaborate as to why mod_proxy_ajp isn't working for you?

    Mark.

    --
    Mark Watts BSc RHCE MBCS
    Senior Systems Engineer, Managed Services Manpower
    www.QinetiQ.com
    QinetiQ - Delivering customer-focused solutions
    GPG Key: http://www.linux-corner.info/mwatts.gpg

    TRAVEL BUG EFFECT: Strong Attraction to Haunted Places
    Ghost Adventures, Fridays at 9PM E/P
    CATCH IT | travelchannel.com

    ---------------------------------------------------------------------
    The official User-To-User support forum of the Apache HTTP Server Project.
    See <URL:http://httpd.apache.org/userslist.html> for more info.
    To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
    " from the digest: users-digest-unsubscribe@httpd.apache.org
    For additional commands, e-mail: users-help@httpd.apache.org
  • Peter Schober at Nov 17, 2009 at 10:54 pm
    chuck,

    * Chuck.Payne@TravelChannel.com [2009-11-17 17:42]:
    Because we are running productions, as stated on the Apache site in
    BOLD letters, mod_ajp is not for production use. We see our jboss
    down with it.
    I see a few references to mod_ajp from 2004 (e.g. in this thread[1])
    but I guess you're referring to mod_proxy_ajp here?

    Where is that statement to be found? The obvious place
    http://httpd.apache.org/docs/2.2/en/mod/mod_proxy_ajp.html did not
    feature such a note. Also
    http://wiki.apache.org/tomcat/FAQ/Connectors#Q2 didn't say that.
    Since a quick search didn't turn up something, I'd appreciate a
    pointer.

    cheers,
    -peter

    [1] http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg60479.html

    ---------------------------------------------------------------------
    The official User-To-User support forum of the Apache HTTP Server Project.
    See <URL:http://httpd.apache.org/userslist.html> for more info.
    To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
    " from the digest: users-digest-unsubscribe@httpd.apache.org
    For additional commands, e-mail: users-help@httpd.apache.org
  • Peter Schober at Nov 20, 2009 at 12:57 pm
    chuck,

    * Peter Schober [2009-11-17 23:54]:
    * Chuck.Payne@TravelChannel.com [2009-11-17 17:42]:
    Because we are running productions, as stated on the Apache site in
    BOLD letters, mod_ajp is not for production use. We see our jboss
    down with it.
    I see a few references to mod_ajp from 2004 (e.g. in this thread[1])
    but I guess you're referring to mod_proxy_ajp here?

    Where is that statement to be found? The obvious place
    http://httpd.apache.org/docs/2.2/en/mod/mod_proxy_ajp.html did not
    feature such a note. Also
    http://wiki.apache.org/tomcat/FAQ/Connectors#Q2 didn't say that.
    Since a quick search didn't turn up something, I'd appreciate a
    pointer.
    I'd still like to know where on "the Apache site" this statement is to
    be found, exactly.
    Thanks,
    -peter

    ---------------------------------------------------------------------
    The official User-To-User support forum of the Apache HTTP Server Project.
    See <URL:http://httpd.apache.org/userslist.html> for more info.
    To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
    " from the digest: users-digest-unsubscribe@httpd.apache.org
    For additional commands, e-mail: users-help@httpd.apache.org
  • Tom Evans at Nov 17, 2009 at 3:34 pm

    On Tue, Nov 17, 2009 at 3:21 PM, wrote:

    Guys,

    We are switching out mod_ajp for mod_jk and have ran into a wall with
    ProxyPass and ProxyPassReverse.

    With mod_ajp we have this setting


    <Proxy balancer://potapp>
    BalancerMember ajp://tomcat05:8009 smax=20 min=0 max=10 loadfactor=1
    flushpackets=on route=node1
    BalancerMember ajp://tomcat06:8009 smax=20 min=0 max=10 loadfactor=1
    flushpackets=on route=node1
    </Proxy>


    ProxyPass /travelchannel balancer://potapp/travelchannel/
    ProxyPassReverse /travelchannel balancer://potapp/travelchannel/

    ProxyPass /travel balancer://potapp/travel/
    ProxyPassReverse /travel balancer://potapp/travel/

    ProxyPass /AppConsole balancer://potapp/AppConsole/
    ProxyPassReverse /AppConsole balancer://potapp/AppConsole/


    When we try to use these setting that work with mod_ajp, we get a 404 with
    mod_jk. I have no clue. Do I need to do something different with
    ProxyPass/ProxyPassReverse? I been seaching the net with no luck.

    CHUCK PAYNE | Unix System Administrator
    You need to make sure that your URLs are balanced - if the URL you are
    passing ends in a slash, then the URL you are passing it to must also, and
    vice versa.

    Eg,

    ProxyPass /travelchannel/ balancer://potapp/travelchannel/
    ProxyPassReverse /travelchannel/ balancer://potapp/travelchannel/

    Cheers

    Tom
  • Daniel Goulder at Nov 17, 2009 at 5:00 pm
    I agree with Chuck here - would definitely NOT use mod_proxy_ajp in
    production and would ALWAYS use mod_jk

    Back to the original question - have a look at
    http://tomcat.apache.org/connectors-doc/reference/printer/apache.html - in
    particular the "JkOptions +ForwardURICompat " part.

    I think this will allow you to do mod_rewrite in combination with mod_jk -
    I must say I have never done this myself but it should be possible...

    Danny

    ________________________________

    From: <Chuck.Payne@TravelChannel.com>

    Sent: 17 November 2009 16:40
    To: users@httpd.apache.org
    Subject: RE: [users@httpd] Question about mod_ajp and mod_jk
    ProxyPassReverse


    Because we are running productions, as stated on the Apache site in BOLD
    letters, mod_ajp is not for production use. We see our jboss down with it.

    CHUCK PAYNE | Unix System Administrator

    TRAVEL CHANNEL MEDIA
    3700 Mansell Rd, Suite 500
    Alpharetta, GA 30022
    Office: 404-269-5533
    Blackberry: 770-940-7765
    email:chuck.payne@travelchannel.com

    CATCH IT | travelchannel.com

    Need IT help? Go to http://Keystoneweb.corp.cox.com
    Or contact us at Support@TravelChannel.com / 301-244-7777
    Cox Communications Help Desk (24 X 7 X 365): 800-637-3545
    ------------------------------------
    This e-mail and any attachments are intended only for the person to whom
    (or entity to which) it is addressed and may contain confidential and/or
    privileged material. Any review, re-transmission, copying, dissemination or
    other use of this information by persons or entities other than the
    intended recipient is prohibited. If you received this in error, please
    contact the sender and delete the material from any computer. The contents
    of this message may contain personal views that are not the views of The
    Travel Channel, L.L.C.
    ________________________________________
    From: Mark Watts [m.watts@eris.qinetiq.com]
    Sent: Tuesday, November 17, 2009 10:30 AM
    To: users@httpd.apache.org
    Subject: Re: [users@httpd] Question about mod_ajp and mod_jk
    ProxyPassReverse
    On Tue, 2009-11-17 at 10:21 -0500, Chuck.Payne@TravelChannel.com wrote:
    Guys,

    We are switching out mod_ajp for mod_jk and have ran into a wall with
    ProxyPass and ProxyPassReverse.

    Most people ditch mod_jk for mod_proxy_ajp.
    Care to elaborate as to why mod_proxy_ajp isn't working for you?

    Mark.

    --
    Mark Watts BSc RHCE MBCS
    Senior Systems Engineer, Managed Services Manpower
    www.QinetiQ.com
    QinetiQ - Delivering customer-focused solutions
    GPG Key: http://www.linux-corner.info/mwatts.gpg

    TRAVEL BUG EFFECT: Strong Attraction to Haunted Places
    Ghost Adventures, Fridays at 9PM E/P
    CATCH IT | travelchannel.com

    ---------------------------------------------------------------------
    The official User-To-User support forum of the Apache HTTP Server Project.
    See < URL:http://httpd.apache.org/userslist.html> for more info.
    To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
    " from the digest: users-digest-unsubscribe@httpd.apache.org
    For additional commands, e-mail: users-help@httpd.apache.org


    ______________________________________________________________________
    This email has been scanned by the MessageLabs Email Security System.
    For more information please visit http://www.messagelabs.com/email
    ______________________________________________________________________



    ______________________________________________________________________
    This e-mail and any attached files are intended for the named addressee only. It contains information, which may be confidential and legally privileged and also protected by copyright. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use it, or disclose it to anyone else. If you received it in error please notify the sender immediately and then delete it from your system. Please be advised that the views and opinions expressed in this e-mail may not reflect the views and opinions of Associated Newspapers Limited or any of its subsidiary companies. We make every effort to keep our network free from viruses. However, you do need to check this e-mail and any attachments to it for viruses as we can take no responsibility for any computer virus which may be transferred by way of this e-mail. Use of this or any other e-mail facility signifies consent to any interception we might lawfully carry out to prevent abuse of these faciliti
    es.
    Associated Newspapers Ltd. Registered Office: Northcliffe House, 2 Derry St, Kensington, London, W8 5TT. Registered No 84121 England.

    ---------------------------------------------------------------------
    The official User-To-User support forum of the Apache HTTP Server Project.
    See <URL:http://httpd.apache.org/userslist.html> for more info.
    To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
    " from the digest: users-digest-unsubscribe@httpd.apache.org
    For additional commands, e-mail: users-help@httpd.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriesapache
postedNov 17, '09 at 3:27p
activeNov 20, '09 at 12:57p
posts7
users5
websitehttpd.apache.org
irc#httpd

People

Translate

site design / logo © 2022 Grokbase