Re: virtual host use of php

From: Date: Thu, 06 Jul 2000 17:29:50 +0000
Subject: Re: virtual host use of php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5248@lists.php.net to get a copy of this message
John, In the <VirtualHost> directive of the httpd.conf file you can add AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps That will restrict the php to a VH. When you create the MySQL database, just give them access to one instance within that database based on their username. You may want to do a special build and remove field system access. Something for you to think about. David. ----- Original Message ----- From: John Hogan <john.hogan@sparknet.net> To: <php-general@lists.php.net> Sent: Thursday, July 06, 2000 4:28 PM Subject: [PHP] virtual host use of php > I'd like some feedback on giving Virtual Hosting clients access to PHP... > We have a small server farm on which we host around 500 or so domains. I'd > like to offer PHP/MySQL as part of an advanced hosting plan, but I'm > concerned about the security risks involved. For example, how do I turn off > access to the whole of the server tree? (I don't want someone accessing the > /etc/passwd file) > I appreciate your feedback. > - John Hogan

« previous php.general (#5248) next »