RE: [users@httpd] Keep php from reading into other virtualhosts document roots

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

 



Thanks, I really want to separate everything about the vhosts, so I think
I'll run them on different ports.  I hadn't even thought of that.
Thanks for the help.
Jake

-----Original Message-----
From: Joshua Slive [mailto:jslive@xxxxxxxxx] 
Sent: Saturday, April 30, 2005 10:16 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Keep php from reading into other virtualhosts
document roots


On 4/30/05, Chris <listschris@xxxxxxxxxxxxxxx> wrote:
> Try PHPs Safe Mode:
> 
> http://www.php.net/features.safe-mode
> 
> It looks like open_basedir is the config option that would work for 
> you.

Yes, I believe that's how most people do this.

If you really want to give alternative permissions to these other vhosts,
then you can run them from a separate instance of apache on a high-numbered
port with whatever User/Group you want, then have the main apache instance
proxy the requests back to them.  This is essentially what perchild/metux do
anyway.  They just do it in a slightly more streamlined fashion.

Joshua.

---------------------------------------------------------------------
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



---------------------------------------------------------------------
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