Re: Set multiple DocumentRoot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]

  Powered by Linux