RE: [users@httpd] Best way to host scripts

2005-05-29 Thread Jacob Miller
I was trying to do the same thing. I settled on running one apache per virtualhost, and proxy-ing them through the main virtualhost. This way each apache only has permission to use it's own files, and only one server is comprimised if someone writes a security hole into their php/perl scripts. Yo

[users@httpd] Insert HTTP HEADER

2005-05-26 Thread Jacob Miller
Is there a way to insert an HTTP HEADER when you ProxyPass and ProxyPassReverse? For example, I'd like to pass the original client IP address to the backend server so that I can insert that into the logs insead of inserting my server IP. Can this be done? Or would the Proxy code need to be alter

RE: [users@httpd] Running apache on 127.0.0.x

2005-05-26 Thread Jacob Miller
riginal Message----- From: Jacob Miller [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 8:30 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Running apache on 127.0.0.x I would like to run each apache as the user who owns the files of a particular virtual host. Ex. Denja

[users@httpd] Running apache on 127.0.0.x

2005-05-26 Thread Jacob Miller
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