RE: [PHP] Creating domain and default page

From: Date: Sat, 30 Jun 2001 03:26:17 +0000
Subject: RE: [PHP] Creating domain and default page
Groups: php.general 
Request: Send a blank email to php-general+get-55624@lists.php.net to get a copy of this message
It's understood that when creating new domain, the user has to be root. But, the problem is the user of script is nobody when program is running if i'm not mistaken. So, how to solve this kind of permission stuff?
From: "scott [gts]" <scott@graphictype.com> To: "php" <php-general@lists.php.net> Subject: RE: [PHP] Creating domain and default page Date: Thu, 28 Jun 2001 16:19:29 -0400 1) read apache and named docs so you know what changes need to be made, and where to make them 2) update 'httpd.conf' and the domain's 'zone' file 3) restart both 'named' and 'apache' 4) copy an 'index.php' into the subdomain's newly created directory. there are probably better ways to do it, but that's how i add subdomains to my machine when i do it manually... it's a start -----Original Message----- From: E K L [mailto:phpnewuser@hotmail.com] Subject: [PHP] Creating domain and default page Hi all, Can anybody give me a guideline or idea on how to write a PHP scriot which is used to create a domain or sub-domain and a default page and a same time. My OS is Red Hat Linux 6.1. For example, in my program, when i press "activate' button, the script will create me a sub-domain try.php.com and a default page index.php is created for that sub-domain. Thanks for advice...... _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

« previous php.general (#55624) next »