Re: Easy question
- From: Niklas Schönberg <niko@xxxxxxxxx>
- Date: Thu, 30 Jun 2005 01:43:34 +0300
Shelly wrote:
> Here is a question that is probably very easy but that I don't know how to
> do [yet].
>
> I have a web site www.aaa.net. A directory structure has been created for
> me on the server as and it appears to me as /var/www/html. That is where
> all my code is placed.
>
> I want to have another site, www.aaa.org. I want the directory structure
> for the html and php for this to be under the www.aaa.net directory tree in
> a subdirectory org (/var/www/html/org). That way I can basically point to
> the same code and it will simply be an alias when the sites go live. Also,
> for now, they could behave differently with the public seeing www.aaa.org
> (which has limited stuff) and we can continue to develop on www.aaa.net.
>
> How do I do this?
>
> Shelly
>
This is really more a question of webserver configuration than php, if I
understand you correctly. I'm assuming that you are using apache since
it seems to be a *nix system.
The information you are seeking can be found here:
http://httpd.apache.org/docs-project/
Look for "virtual hosts".
Attachment:signature.asc
Description: OpenPGP digital signature
- References:
- Easy question
- From: Shelly
- Easy question
- Prev by Date: Re: >> Very Simple PHP DOM Question..Please help!
- Next by Date: PHP Download Limitation 2MB
- Previous by thread: Easy question
- Next by thread: PHP Download Limitation 2MB
- Index(es):
Relevant Pages
|