[users@httpd] Strange 400 response codes

2022-05-31 Thread Herb Burnswell
Hi, We have an issue that I'd like to get some guidance on how to investigate further. We have a Tomcat application that is fronted by 3 HTTPD proxies (Apache/2.4.34) running mod_proxy_balancer. What we see in the HTTPD access logs are 400 response codes that include entries like:

[users@httpd] HTTPD Proxy Errors

2021-01-05 Thread Herb Burnswell
All, We are running HTTPD as a proxy to a backend Tomcat application. OS = RHEL 7.7 HTTPD: Server version: Apache/2.4.34 (Red Hat) Server built: Apr 3 2019 12:07:34 Server's Module Magic Number: 20120211:79 Server loaded: APR 1.4.8, APR-UTIL 1.5.2 Compiled using: APR 1.4.8, APR-UTIL 1.5.2

[users@httpd] SAMEORIGIN and multiple ALLOWFROM X-Frame-Options

2020-10-12 Thread Herb Burnswell
Hi, I have been using the following successfully in HTTPD config for some time: Header always set X-Frame-Options SAMEORIGIN The SAMEORIGIN is required for our use but now I am getting a request to allow X-Frame-Options to include specific URL's, say: https://example1.com https://example2.com

[users@httpd] Re: mod_proxy_hcheck assistance

2020-05-07 Thread Herb Burnswell
of requests that were being directed to the now failed node? Is the request basically 'killed' and then directed to the healthy node and started over? Any guidance is appreciated. Thanks, HB On Mon, Mar 30, 2020 at 5:18 PM Herb Burnswell wrote: > Hi, > > Server version: Apache/2.4.34 (Red H

[users@httpd] mod_proxy_hcheck assistance

2020-03-30 Thread Herb Burnswell
Hi, Server version: Apache/2.4.34 (Red Hat) I am looking to put some health checks in place using mod_proxy_hcheck. I have a back-end tomcat application with two nodes that recently has had JVM heap issues and the application on one of the two nodes becomes unresponsive. However, the node will

[users@httpd] Re: redirect or rewrite specific html files

2020-02-05 Thread Herb Burnswell
: event threaded: yes (fixed thread count) forked: yes (variable process count) I was hoping this was pretty straight forward but maybe it is not.. Thanks, HB On Tue, Feb 4, 2020 at 9:14 AM Herb Burnswell wrote: > Hi, > > I am looking for some guidance on how to forward spec

[users@httpd] redirect or rewrite specific html files

2020-02-04 Thread Herb Burnswell
Hi, I am looking for some guidance on how to forward specific html files to a new locations. The motivation is for users who might have bookmarked a no longer current location and best practices for SEO functionality. Here would be an example: Old: https://example.com/old/path/to/old_file.html

[users@httpd] Re: Bypass landing page based upon cookie

2019-03-25 Thread Herb Burnswell
On Sun, Mar 24, 2019 at 8:53 PM Herb Burnswell wrote: > All, > > Apache 2.4.27 > OS: RHEL 7.6 > > We're using httpd as a reverse proxy to 3 back end application servers. > We have a landing page for users to select their geographical region. > Everything works as expecte

[users@httpd] Bypass landing page based upon cookie

2019-03-24 Thread Herb Burnswell
All, Apache 2.4.27 OS: RHEL 7.6 We're using httpd as a reverse proxy to 3 back end application servers. We have a landing page for users to select their geographical region. Everything works as expected with the current setup, however, we'd like users to not have to re-select their region on

[users@httpd] multiple node balancer-manager administration

2018-08-15 Thread Herb Burnswell
All, I am running a 3 node proxy front end to a 3 node application back end. All proxy nodes have the same configuration to distribute load: +-+ | Firewall Public | +-+ +---+ | +--++---+

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-20 Thread Herb Burnswell
It works It works with the ProxyPassReverse included. Yann - Thank you very much for all of your help, it's greatly appreciated.. Best, HB On Wed, Jun 20, 2018 at 7:54 AM, Yann Ylavic wrote: > On Tue, Jun 19, 2018 at 11:26 PM, Herb Burnswell > wrote: > > > > Attache

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-18 Thread Herb Burnswell
> Or if you want to masquerade /frontpage completetly, you could use > mod_proxy_html to rewrite response URLs on the fly. Anybody have suggestions on how to masquerade /frontpage to rewrite responses? On Fri, Jun 15, 2018 at 12:33 PM, Herb Burnswell < herbert.burnsw...@gmail.c

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-15 Thread Herb Burnswell
rontpage/login.zul HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0" "305C0B70515B838AE70AC0F7DBA79799.node3" On Thu, Jun 14, 2018 at 11:34 PM, Yann Ylavic wrote: > On Fri, Jun 15, 2018 at 12:34 AM, H

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-14 Thread Herb Burnswell
Thanks. > If you accept that /frontpage path going up to the client/browser once > the first / works, then you can: >ProxyPass / balancer://applicationcluster/frontpage/ ... >ProxyPass /frontpage/ balancer://applicationcluster/frontpage/ ... >ProxyPassReverse /

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-14 Thread Herb Burnswell
Community, Is this issue that I'm struggling with really that large of a challenge? If it is, that's fine, I'm trying to judge if it's something that I should abandon or if it can be done at all.. Thanks, HB On Sun, Jun 10, 2018 at 9:23 PM, Herb Burnswell wrote: > Thanks again Y

Re: [users@httpd] (rewritten) In directory pages, how to show file dates in a specific timezone?

2018-06-14 Thread Herb Burnswell
Sorry - My mistake, please disregard. On Thu, Jun 14, 2018 at 11:39 AM, Eric Covener wrote: > On Thu, Jun 14, 2018 at 2:03 PM Herb Burnswell > wrote: > > > > Community, > > > > Is this issue that I'm struggling with really that large of a > challenge?

Re: [users@httpd] (rewritten) In directory pages, how to show file dates in a specific timezone?

2018-06-14 Thread Herb Burnswell
Community, Is this issue that I'm struggling with really that large of a challenge? If it is, that's fine, I'm trying to judge if it's something that I should abandon or if it can be done at all.. Thanks, HB On Thu, Jun 14, 2018 at 10:25 AM, Yann Ylavic wrote: > On Thu, Jun 14, 2018 at 12:08

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-10 Thread Herb Burnswell
on or conditions that will allow for the desired behavior to work but I'm just not experienced enough yet. I hope I have not completely confused the situation, any guidance is greatly appreciated as always.. HB On Sun, Jun 10, 2018 at 12:31 PM, Yann Ylavic wrote: > Hi HB, > >

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-10 Thread Herb Burnswell
or ProxyPassMatch needed for an initial request? Thanks, HB On Sat, Jun 9, 2018 at 1:24 AM, Yann Ylavic wrote: > Hi, > > On Fri, Jun 8, 2018 at 9:07 PM, Herb Burnswell > wrote: > > > > That being said I did test with modifying the ProxyPass and > ProxyPassReverse > > a

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-08 Thread Herb Burnswell
AM, Yann Ylavic wrote: > Hello, > > On Thu, Jun 7, 2018 at 9:36 PM, Herb Burnswell > wrote: > > > > RewriteEngine On > > RewriteRule "^/frontpage(.+)" "$1" [R,L] > > What about this instead of the above: >

[users@httpd] mod_proxy_http rewrite problem

2018-06-07 Thread Herb Burnswell
All, I'm facing what seemingly is a very difficult challenge, tyring to set up a proxy to a backend application. I say 'seemingly very difficult' because I have reached out to the HTTPD community, codementor.io (offering money for help), as well as consultants who say they really are not skilled

[users@httpd] mod_jk configuration issues

2018-03-06 Thread Herb Burnswell
All, I am attempting to set up a proxy using mod_jk to a backend Tomcat application. I have switched to using mod_jk from mod_proxy_http as the application recommends using AJP and I've read that mod_jk provides more funtionality than mod_proxy_ajp. Here is the layout: +-+

Re: [users@httpd] balancing best practices - mod_proxy_balancer

2018-03-06 Thread Herb Burnswell
as nodes are up and running you want to deliver the session to > >> the specific node dealing with that session or session will be lost. > >> It is when that backend node is down that httpd should look for other > >> nodes to deliver the session. Afaik is called sessio

Re: [users@httpd] balancing best practices - mod_proxy_balancer

2018-03-06 Thread Herb Burnswell
On Tue, Feb 27, 2018 at 11:36 PM, Igor Cicimov <icici...@gmail.com> wrote: > I always prefer mod_jk over mod_proxy, I find it superior in terms of > features and performance. > > > On 27 Feb 2018 5:10 am, "Herb Burnswell" <herbert.burnsw...@gmail.com> > wr

Re: [users@httpd] mod_proxy - sticky sessions configuration help

2018-02-26 Thread Herb Burnswell
/ stickysession=JSESSIONID This allowed things to work as expected. Thanks again. Does anyone have any suggestions/best practices on the rest of the httpd.conf file? HB On Mon, Feb 26, 2018 at 12:13 PM, Herb Burnswell < herbert.burnsw...@gmail.com> wrote: > Thanks Eric. > >

Re: [users@httpd] mod_proxy - sticky sessions configuration help

2018-02-26 Thread Herb Burnswell
Thanks Eric. Rewrite rules on the HTTPD side or the backend Tomcat application? There are no other rewrite rules that I am aware of. HB On Mon, Feb 26, 2018 at 11:54 AM, Eric Covener wrote: > Do you have a separate set of rewriterules somewhere that might also > be

[users@httpd] mod_proxy - sticky sessions configuration help

2018-02-26 Thread Herb Burnswell
All, I am setting up a frontend HTTPD load balancer to a backend Tomcat application using mod_proxy. I have not done so previously and am looking for some guidance. Here is a diagram of what it will look like: +-+ | Firewall Public | +-+

Re: [users@httpd] balancing best practices - mod_proxy_balancer

2018-02-26 Thread Herb Burnswell
s/2.4/howto/reverse_proxy.html > and mod_proxy itself: http://httpd.apache.org/docs/2.4/mod/mod_proxy.html > > Cheers! > > 2018-02-23 1:48 GMT+01:00 Herb Burnswell <herbert.burnsw...@gmail.com>: > > All, > > > > I am looking for some guidance on using HTTPD as a p

[users@httpd] balancing best practices - mod_proxy_balancer

2018-02-22 Thread Herb Burnswell
All, I am looking for some guidance on using HTTPD as a proxy and load balancer to a backend Tomcat application. Specifically, I'm interested in how to best handle the balancing of requests. The configuration would be very much like the 'typical implementation' shown in this Reverse Proxy