Re: [users@httpd] Help regarding Listen directive

2018-05-18 Thread Frank Gingras
You cannot use the Listen directive twice on the same IP:PORT combo. Remove the duplicate and it will work. On Fri, May 18, 2018 at 2:11 AM salil GK wrote: > Hello > >I have tried to upgrade my http from version 2.4.25 to 2.4.33 but > encountered an issue with configuration file. In my confi

Re: [users@httpd] configuring a proxy fallback

2018-05-18 Thread Yann Ylavic
On Fri, May 18, 2018 at 11:02 PM, John Bazik wrote: >> Doesn't ErrorDocument to a proxied path work? Something like: >> >> ProxyErrorOverride on >> ErrorDocument 404 /internal_404/ >> ProxyPass /internal_404/ http://legacy_site/whatever/ >> ProxyPassReverse /internal_404/ http://legacy_site/whatev

Re: [users@httpd] configuring a proxy fallback

2018-05-18 Thread John Bazik
> Doesn't ErrorDocument to a proxied path work? Something like: > > ProxyErrorOverride on > ErrorDocument 404 /internal_404/ > ProxyPass /internal_404/ http://legacy_site/whatever/ > ProxyPassReverse /internal_404/ http://legacy_site/whatever/ Wow, thanks! I assumed that "local url" in the docs

Re: [users@httpd] Re: RedirectMatch escaping AMP ?

2018-05-18 Thread David Tkacik
Hey Eric, Thanks for the reply. At the end it did the job. It was just curl giving me this. With a standard web-browser it works just fine. I even tried to [NE] flag or the [B] flag but via curl I was getting the same results. Thansk ! > On 18 May 2018, at 13:23, Eric Covener wrote: > > On F

Re: [users@httpd] configuring a proxy fallback

2018-05-18 Thread John Bazik
> I wonder if, as a workaround, you might use an errordocument that > converts 404 to 301 or 302, and redirects to $static/$request_uri? Even if that works, it has to be an internal redirect. John - To unsubscribe, e-mail: users

Re: [users@httpd] Some questions regarding Apache HTTP Server ServerLimit (Too Many Child Processes)

2018-05-18 Thread Richard
> Date: Friday, May 18, 2018 14:59:21 +0900 > From: > Hello, > > I'm using Apache HTTP Server 2.2.32 on Linux. > > I see that too many child processes are being made on Apache HTTP > Server. > > Child processes are being made up to 256 on Apache HTTP Server. > > Apache HTTP Server is using

Re: [users@httpd] Re: RedirectMatch escaping AMP ?

2018-05-18 Thread Eric Covener
On Fri, May 18, 2018 at 8:00 AM, David Tkacik wrote: > Could someone help me where the & is comming from ? I’ve tried > RewriteRules and the outcome is the same. It's escaping the literal & in your target. With rewrite, try the [NE] flag.

[users@httpd] Re: RedirectMatch escaping AMP ?

2018-05-18 Thread David Tkacik
Could someone help me where the & is comming from ? I’ve tried RewriteRules and the outcome is the same. Thanks ! > On 18 May 2018, at 11:28, David Tkacik > wrote: > > Hello Guys, > > I have a condition like this: > > RedirectMatch ^/g/(.*) https >

Re: [users@httpd] Running Lua Script using mod_lua

2018-05-18 Thread Hemant Chaudhary
Hi, Thanks issue is solved. Actually I was using Lua-5.3. I migrated to Lua-5.1 and it works for me. Hemant On Thu, May 17, 2018 at 11:53 AM, Daniel Gruno wrote: > On 05/17/2018 08:21 AM, Luca Toscano wrote: > >> Hi, >> >> 2018-05-16 12:22 GMT+02:00 Hemant Chaudhary < >> hemantdude.chaudh...@g

[users@httpd] RedirectMatch escaping AMP ?

2018-05-18 Thread David Tkacik
Hello Guys, I have a condition like this: RedirectMatch ^/g/(.*) https : //www.${APACHE_HOSTNAME}/folder1/?ec=$1&ea=EBH&el=GCC

Re: [users@httpd] configuring a proxy fallback

2018-05-18 Thread Yann Ylavic
On Thu, May 17, 2018 at 5:07 PM, John Bazik wrote: >> Oh I see, I didn't realize legacy was also proxied. Maybe >> ProxyErrorOverride helps with one of the options? > > That lets me use ErrorDocument on the proxy, but it doesn't > let me redirect the original request to the legacy site. Doesn't