Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Stormy
On 2021-03-16 5:43 p.m., Jason Long wrote: I used Name-based Virtual Host too: Dear moderators, I have been subscribed to this list since 2010-10-16, 6:34 p.m. and have always enjoyed collegial conversations and learned a lot. The person promoting this thread, whose email address contains

Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Jason Long
I used Name-based Virtual Host too: The content of reverse_proxy1.conf file:         ServerName node3 ProxyPreserveHost On         ProxyPass / http://192.168.1.20/         ProxyPassReverse / http://192.168.1.20/ The content of reverse_proxy2.conf file:         ServerName node4       

Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Jason Long
I created two files under "/etc/httpd/conf.d" directory: reverse_proxy1.conf reverse_proxy2.conf The content of reverse_proxy1.conf file:         ProxyPreserveHost On         ProxyPass / http://192.168.1.20/         ProxyPassReverse / http://192.168.1.20/ The content of reverse_proxy2.conf

Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Eric Covener
On Tue, Mar 16, 2021 at 5:00 PM Jason Long wrote: > > It show me below error: > The server is temporarily unable to service your request due to maintenance > downtime or capacity problems. Please try again later > > Why? We don't know, we didn't read the error log either.

Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Stormy
On 2021-03-16 4:23 p.m., Jason Long wrote: Thanks. Thus, I can one .conf file under the "/etc/httpd/conf.d/" directory with some servers. For example, [snip] Maybe semantic, maybe not absolute, maybe you've already read or been told, but using .d locations for user/programatic orientated

Re: [users@httpd] Aw: Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Jason Long
Thus, for each server I need a config file? On Wednesday, March 17, 2021, 12:12:09 AM GMT+3:30, Florian Schwalm wrote: No, you can only have one virtual host per port. Either you make the second server accessible on a different port or you separate them by server name (namebased

Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Jason Long
It show me below error: The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later Why? On Wednesday, March 17, 2021, 12:08:07 AM GMT+3:30, Daniel Ferradal wrote: Try and let us know your results. El mar, 16 mar

Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Daniel Ferradal
Try and let us know your results. El mar, 16 mar 2021 a las 21:23, Jason Long () escribió: > > Thanks. > Thus, I can one .conf file under the "/etc/httpd/conf.d/" directory with some > servers. For example, > > #Server 1 > > ProxyPreserveHost On > ProxyPass / http://192.168.1.4/

[users@httpd] Aw: Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Florian Schwalm
No, you can only have one virtual host per port.Either you make the second server accessible on a different port or you separate them by server name (namebased virtual hosts) or path... Either way you'd need to decide how you want to distinguish from the user's point of view which server the

Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Jason Long
Thanks. Thus, I can one .conf file under the "/etc/httpd/conf.d/" directory with some servers. For example, #Server 1         ProxyPreserveHost On         ProxyPass / http://192.168.1.4/         ProxyPassReverse / http://192.168.1.4/ #Server 2         ProxyPreserveHost On         ProxyPass /

[users@httpd] Lazy Questions

2021-03-16 Thread Rocky Fountain
Long time subscriber and contributor to the mailing list here, but using a sock puppet address since this is not a nice thing to do. Recently there has been a series of emails to the list with lazy questions and answers. While the frequency of questions by itself is nothing too concerning, my

Re: [users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Antony Stone
On Tuesday 16 March 2021 at 19:16:56, Jason Long wrote: > Hello, > For a website, I created a reverse proxy config file under the > "/etc/httpd/conf.d/" directory as below: > > > ProxyPreserveHost On > ProxyPass / http://192.168.1.4/ > ProxyPassReverse /

Re: [users@httpd] Re: httpd[803535]:

2021-03-16 Thread Jason Long
Thank you so much. On Tuesday, March 16, 2021, 12:44:45 PM GMT+3:30, Antony Stone wrote: On Tuesday 16 March 2021 at 09:13:54, Jason Long wrote: > Hello, > Instead of "ErrorDocument 403 "Unusual activity has been detected from > this IP address."" message, how can I forward it to

[users@httpd] Apache Reverse Proxy for more than one website.

2021-03-16 Thread Jason Long
Hello, For a website, I created a reverse proxy config file under the "/etc/httpd/conf.d/" directory as below:         ProxyPreserveHost On         ProxyPass / http://192.168.1.4/         ProxyPassReverse / http://192.168.1.4/ If I have other servers, then I must create a config file for each

Re: [users@httpd] require valid-users for location bypasses other unrelated restrictions

2021-03-16 Thread Eric Covener
On Tue, Mar 16, 2021 at 9:41 AM Dennis Jacobfeuerborn wrote: > > Hi, > I trying to understand how the "Require" directive works in non-trivial > cases. This is one example: > > > ServerName 127.0.0.1 > DocumentRoot "/var/www/html/site" > > Authtype Basic > Authname "site" >

[users@httpd] require valid-users for location bypasses other unrelated restrictions

2021-03-16 Thread Dennis Jacobfeuerborn
Hi, I trying to understand how the "Require" directive works in non-trivial cases. This is one example: ServerName 127.0.0.1 DocumentRoot "/var/www/html/site" Authtype Basic Authname "site" AuthUserFile /etc/httpd/conf/htpasswd Require valid-user Require all

Re: [users@httpd] Re: httpd[803535]:

2021-03-16 Thread Antony Stone
On Tuesday 16 March 2021 at 09:13:54, Jason Long wrote: > Hello, > Instead of "ErrorDocument 403 "Unusual activity has been detected from > this IP address."" message, how can I forward it to another page? Try https://httpd.apache.org/docs/2.4/custom-error.html Antony. -- "The future is

Re: [users@httpd] Re: httpd[803535]:

2021-03-16 Thread Jason Long
Hello, Instead of "ErrorDocument 403 "Unusual activity has been detected from this IP address."" message, how can I forward it to another page? Thanks. On Monday, March 15, 2021, 11:49:41 PM GMT+3:30, Jason Long wrote: I solved the problem:           Require all granted      

[users@httpd] RE: The number of child processes is less than MinSpareThreads.

2021-03-16 Thread motoda.hiron...@fujitsu.com
> In the following environment where multiple Listen directives are defined, > the number of child processes may temporarily > fall below MinSpareThreads after 6 requests are received at the same time and > HTTP request processing is completed. > Is this a bug or a specification? The process