[users@httpd] configuring a proxy fallback

2018-05-17 Thread John Bazik
Here's something I think I can't do with apache. I have a uwsgi backend server and a legacy http server. I would like a reverse proxy that puts the dynamic site "in front of" the legacy site, such that 404s from the former are internally redirected to the latter. We have this implemented in ngin

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread Eric Covener
On Thu, May 17, 2018 at 10:42 AM, John Bazik wrote: > Here's something I think I can't do with apache. > > I have a uwsgi backend server and a legacy http server. I would like a > reverse proxy that puts the dynamic site "in front of" the legacy site, > such that 404s from the former are internal

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread John Bazik
> FallBackResource may be one option. Another might be the "lookahead" > feature in mod_rewrite. Another is to poke and prod with -d/-f tests > in mod_rewrite if you can determine that way. All of those respond to a missing file, not a 404 returned from a proxied request. That's where I keep hitt

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread Eric Covener
On Thu, May 17, 2018 at 10:51 AM, John Bazik wrote: >> FallBackResource may be one option. Another might be the "lookahead" >> feature in mod_rewrite. Another is to poke and prod with -d/-f tests >> in mod_rewrite if you can determine that way. > > All of those respond to a missing file, not a 404

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread John Bazik
> 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. John -

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread Nick Kew
> On 17 May 2018, at 16:07, 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. A bit of

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

2018-05-17 Thread Dedeco Balaco
Em 16-05-2018 11:57, Dedeco Balaco escreveu: Hello, I could not find a way to show file listing pages (of Apache) with times in correct the timezone. The timezone is defined in the enrironment, but Apache refuses to take it into account. The discussion made in https://www.linuxquestions.org/qu

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread John Bazik
> A bit of an ugly hack (and probably not useful), but what about an > errordocument that uses SSI to include your contents? Mmm. I don't want to go there. > Would you be able to share the nginx config to achieve what you're > looking for, as a reference point? Sure. Condensing it, the basic i

[users@httpd] [Appeal] zh Reviewers wanted (was: Attempting translating Chinese documentation)

2018-05-17 Thread William A Rowe Jr
On Sun, May 13, 2018 at 8:24 AM, CodeingBoy wrote: > Hello William, thanks for your information. I have completed the > translation progress of error messages. > I have translated these message to both Simplified Chinese(zh-cn) and > Traditional Chinese(zh-tw). One thing should be noticed is that

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

2018-05-17 Thread Stormy
On 2018-05-17 12:30 PM, Dedeco Balaco wrote: [snip] How to make Apache file listing pages be shown in the correct timezone, or a specific one (possibly using a "SetEnv TZ" line in .htaccess ? p.s.: There is a small error in the users list page ( https://httpd.apache.org/userslist.html ). The ver

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

2018-05-17 Thread Dedeco Balaco
Em 17-05-2018 15:55, Stormy escreveu: On 2018-05-17 12:30 PM, Dedeco Balaco wrote: [snip] How to make Apache file listing pages be shown in the correct timezone, or a specific one (possibly using a "SetEnv TZ" line in .htaccess ? p.s.: There is a small error in the users list page ( https://ht

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

2018-05-17 Thread Dedeco Balaco
Hello, I could not find a way to show file listing pages (generated by Apache) with times in the correct timezone. The timezone is defined in the environment, but Apache refuses to take it into account (assuming that what I set it what should be set). To detail the situation a bit more: a De

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread Nick Kew
> On 17 May 2018, at 18:44, John Bazik wrote: > > >> Would you be able to share the nginx config to achieve what you're >> looking for, as a reference point? > > Sure. Condensing it, the basic idea is this; > >location / { >uwsgi_pass cms; >include uws

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

2018-05-17 Thread 갈준영
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 ServerLimit default value(256). Q. Could you please provide me how to set S

[users@httpd] Help regarding Listen directive

2018-05-17 Thread salil GK
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 configuration file I have 'Listen port' directive is repeated ( configuration files are created dynamically by application logic ). in 2.4.25 apache read the directive wis