LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Warning worker http://192.168.1.5/ already used by another worker Apache problem (https://www.linuxquestions.org/questions/linux-server-73/warning-worker-http-192-168-1-5-already-used-by-another-worker-apache-problem-817111/)

tkmsr 06-30-2010 01:11 AM

Warning worker http://192.168.1.5/ already used by another worker Apache problem
 
I am having 8 websites running on a reverse proxy.
When ever I am restarting apache I am getting the warning

Code:

worker http://192.168.1.5/ already used by another worker
I googled it but could not reach any meaningful conclusion.

My vhost configuration which created above warning is
Code:


  ProxyPass / http://192.168.1.5/
    ProxyPassReverse / http://192.168.1.5/

      ProxyPass /website1 http://192.168.1.5/website1
      ProxyPassReverse /website1 http://192.168.1.5/website1


bathory 06-30-2010 01:57 AM

Hi,

This is because you are proxying / and /website1. Does /website1 wroks?
You have to use different URIs for proxying, like /website1 /website2

Regards

tkmsr 06-30-2010 06:37 AM

Hi,
Quote:

Originally Posted by bathory (Post 4019018)
Hi,

This is because you are proxying / and /website1. Does /website1 wroks?
You have to use different URIs for proxying, like /website1 /website2

Regards

the situation I have is quite tricky I am having 17 websites.

there are sets of them A,B,C depending upon type of application being served.

A,B,C are themselves proxied and then there are other applications on A,B,C which are also proxied.

The problem I reported belongs to set B.

The front end is main site and /website1 etc are different applications.

website1 can be accessed on LAN as

http://<IP of LAN>/website1
and / is the front end which is accessible http://<IP of LAN>/
from set B.




I was able to solve this problem after some long struggle.
The solution is quite illogical and what I did was I kept the generic one at the last i.e. now the / goes at the last.
Code:


      ProxyPass /website1 http://192.168.1.5/website1
      ProxyPassReverse /website1 http://192.168.1.5/website1


  ProxyPass / http://192.168.1.5/
    ProxyPassReverse / http://192.168.1.5/

Note the last 2 entry are below /website1 i.e. I have redirected to root of the site at the last.In my question this entry was at the first line.
Thanks for your time.


All times are GMT -5. The time now is 03:16 AM.