[users@httpd] Which proxy modules are required for proxying Websocket connections?

2020-07-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

All,

If I want to allow HTTP connections to upgrade to WebSocket, which
mod_proxy modules do I need to enable and configure?

More specifically, do I need to enable+configure both mod_proxy_http
AND mod_proxy_wstunnel, or only mod_proxy_wstunnel?


  # Do I need these?
  BalancerMember http://node1/
  BalancerMember http://node2/

  # Or only these?
  BalancerMember ws://node1/
  BalancerMember ws://node2/

  # Or both?


ProxyPass /my-app/ balancer://my/app/

Is the answer any different if I don't expect all connections to be
upgraded from HTTP -> Websocket?

Thanks!
- -chris
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl8HLy8ACgkQHPApP6U8
pFj9qhAAneq1hspxrenc4gjPyzYSB6rIiApR1gtz0ex6PP9RzQyqq2sqxIJhc9gJ
A0XPRnLAkkb8TjvyWxGDKKcPwbcjPuDMwIKbcudhpUU+azUEI0FN7bazFhgElmmJ
sHmxa54N54JwFEThyFiudUVUe4rbB/MUrY62q4X25JRy/o7TcNqsdnnNGoUo/K65
x0Xno/xqnTLcfHp8ZMw/q1pAB6gPgSHve1/UbULhjEwJ5yOQIJcWYU/81rtVjHtq
So5GiyPBfJJRh4nopbH+qiz2wRjj+vDj+TPYcWco5E4Qnc60QaTsYNuN8LD2+v0f
OnTvrqabUPvgM8P1wc8duYDH0X6EIJ1zVnV7H1XlZZUbVwekfFdqdOwtEi9Ovt59
uuGa7NT1mACHtym6ylWifSmxuYP7WaRHtGTBxqnI1hLrM52gJxv+BP01axIr3Dki
UmHfHhrWa8L83UaCjU2otvFvI0U7V+KhiCR0zp/3kdlv6RXWsFeTeQ5HMrDk88io
kj3pxARqpH6fGYFK1vC8FDRAoHGghhji1T+ffg4moaAIJV1I1ebNBwNUnMo+j35F
8/2KGIR6dVQVUml5AOdAL//c/99Ytaj8tl/X3wmCl0p1V38my5YcB/d//U0CTMJ/
CZxw0Dk4NaHB13ecKMsUgSinJv+LQbhTDw1iicDW/Fz+VaacKlQ=
=IYPR
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] AH02429: Response header name 'application/x-www-form-urlencoded'

2020-07-09 Thread Wendell Hatcher
Hi I am getting the following error we were not getting it in apache 2.4.17
but we are getting in our upgraded version 2.4.39.
AH02429: Response header name 'application/x-www-form-urlencoded' contains
invalid characters, aborting request, referer:
https://s1-integration.ariba.com/Buyer/Main/ad/contentPunchin/OCIPunchinDirectAction?sap-client=100&;...

my question are the items the upgraded version of apache will reject is
there a list such as spaces etc... that it no longer accepts


[users@httpd] File structure for nearly identical sites

2020-07-09 Thread Darryl Philip Baker
I am getting a set of over 50 sites moved over to my server from elsewhere and 
the content manager want to duplicate each of these in a dev subdomain. An 
example eatatjoes.example.com and eatatjoes.dev.example.com. I am thinking that 
I can include the same configuration file twice if I replace the “dev.” with a 
macro. The first time in include the file the macro has the value of “.” And 
the second time the value of the macro is “dev.” I would do something similar 
for the document directory.

Is there a way of keeping some directives from being in the live configuration 
for just the second time I include the file?

In my case there are likely to be redirects as they test a site prior to a 
relaunch. They like to keep bookmarks working even after restructuring a site.

Darryl Baker, GSEC  (he/him/his)
Sr. System Administrator
Distributed Application Platform Services
Northwestern University
1800 Sherman Ave.
Suite 6-600 – Box #39
Evanston, IL  60201-3715
darryl.ba...@northwestern.edu
(847) 467-6674



[users@httpd] Reducing 503 errors

2020-07-09 Thread Mahmood Naderan
Hello
With the following MPM settings

    ServerLimit   500
    StartServers   5
    MinSpareServers   5
    MaxSpareServers  10
    MaxRequestWorkers 500
    MaxConnectionsPerChild   0




I would like to know how can I reduce the occurrence of 503 (service 
unavailable) error? Should I increase ServerLimit only? Or MaxRequestWorkers? 
Or increasing one and decreasing the other?


Regards,
Mahmood