Re: Set multiple DocumentRoot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: users@xxxxxxxxxxxxxxxx
- Subject: Re: Set multiple DocumentRoot
- From: Pete Houston <ph1@xxxxxxxxxxxxxxxx>
- Date: Fri, 26 Oct 2012 11:12:21 +0100
- In-reply-to: <CAA=hcWSSGtR8tJ7kRci=_5ZrYCGjf=d6jtBkNzNwWVje9HANwg@mail.gmail.com>
- Organization: Openstrike
- Reply-to: users@xxxxxxxxxxxxxxxx
- User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, Oct 26, 2012 at 08:02:11PM +1000, jupiter wrote:
> I need to set DocumentRoot to two directories, one for development and
> one for testing. But the server has only one IP address, and there is
> no DNS. Is it possible? If so, please give an example.
Use different ports. You can set up two virtual hosts, eg. one on port 80
for testing and one on port 8080 for development.
Pete
--
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107
Attachment:
pgpr6UExaA3Xd.pgp
Description: PGP signature
[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]