RE: [PHP] Creating domain and default page
| From: | scott [gts] | Date: | Thu, 28 Jun 2001 20:19:29 +0000 |
| Subject: | RE: [PHP] Creating domain and default page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55527@lists.php.net to get a copy of this message | ||
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
>