Re: [users@httpd] Set multiple DocumentRoot

2012-10-29 Thread Pete Houston
On Sun, Oct 28, 2012 at 04:04:36PM +1100, jupiter wrote: > > ServerName 192.168.1.101 > DocumentRoot /tmp > > > The 8080 works, but 80 got an error of "Permission denied: file > permissions deny server access: /tmp/index.html". I don't see any > permission problems: Apache may be preven

Re: [users@httpd] Set multiple DocumentRoot

2012-10-27 Thread jupiter
Thanks for all responses. I've tried first suggestion to use 80 and 8080 as following set up: Listen 8080 Listen 80 NameVirtualHost *:80 NameVirtualHost *:8080 ServerName 192.168.1.101 DocumentRoot /var/www/html/ ServerName 192.168.1.101 DocumentRoot /tmp The 8080 works, b

Re: [users@httpd] Set multiple DocumentRoot

2012-10-26 Thread Terry Carmen
On 10/26/2012 06:02 AM, jupiter wrote: Hi, 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. You can use multiple virtualhosts on one IP address by

Re: [users@httpd] Set multiple DocumentRoot

2012-10-26 Thread Pete Houston
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

[users@httpd] Set multiple DocumentRoot

2012-10-26 Thread jupiter
Hi, 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. Thank you. Kind regards, j ---