[users@httpd] Running apache on 127.0.0.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would like to run each apache as the user who owns the files of a
particular virtual host.  
Ex. Denjak would run the denjak.com apache.  
To do this I've setup an apache running on 127.0.0.1:80 as the "test" user.
I've tested the localhost apache using wget 127.0.0.1 and I get my test
index.html so I know that the localhost apache is running correctly.
I can't seem to figure out how to proxy the requests throught the main
apache running on a public IP through to the apache running on the 127.0.0.1
address.  These are the configurations that I've tried:

In httpd.conf:
ProxyRequests On
ProxyVia On
ProxyRemote http://test.denjak.com/ http://127.0.0.1:80
Include www.denjak.com  (These are other virtual hosts configured)
Include .... Etc etc

In a virtualhost:
<VirtualHost *:80>
ServerName test.denjak.com
ProxyRequests On
ProxyVia On
ProxyRemote http://test.denjak.com/ http://127.0.0.1:80
</VirtualHost>

Do I need to set ProxyRequest to On?
Do I need to set ProxyVia to On?
Do I need to use something like ProxyPass?
Is what I'm trying to do even possible?
Is support for something like perchild MPM going to be available in the
future, I imagine it would be quite useful.

Test.denjak.com is in my hosts file, so it's not publicly available, sorry.
I can make it available if it would help.
I don't know what I'm doing wrong, and I can't seem to sort through the
proxy documentation.


Thanks,
Jake Miller


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux