Re: virtual instances

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

 



Hi,

I added these lines:


Listen 80
Listen 81

NameVirtualHost 10.0.100.4:80
NameVirtualHost 10.0.100.4:81

<VirtualHost 10.0.100.4:80>
ServerName zeus
DocumentRoot /usr/local/apache2/htdocs
</VirtualHost>

<VirtualHost 10.0.100.4:81>
ServerName zeus
DocumentRoot /usr/local/apache2/htdocs1
</VirtualHost>


When I access http://zeus:80 I get the “It works”. When I access http://zeus:81, the logs show:
[Wed Jul 16 09:37:18 2008] [error] [client 172.21.194.71] client denied by server configuration: /usr/local/apache2/htdocs1/

Any idea please?
thanks



--- On Wed, 16/7/08, Davide Bianchi <davide@xxxxxxxxxxxxxx> wrote:

> From: Davide Bianchi <davide@xxxxxxxxxxxxxx>
> Subject: Re:  virtual instances
> To: "Melanie Pfefer" <melanie_pfefer@xxxxxxxxxxx>
> Cc: users@xxxxxxxxxxxxxxxx
> Date: Wednesday, 16 July, 2008, 10:24 AM
> Melanie Pfefer wrote:
> > I want to use virtual servers on apache.
> > 
> > So I install one server and have several virtual
> instances each one running on a different port.
> 
> Hu... why? You can have multiple sites (Virtual HOSTS)
> without the need 
> for multiple 'instances' of apache running.
> 
> Why don't you read the documentation for Virtual Hosts?
> Otherwise, 
> explain your problem.
> 
> Davide
> 
> -- 
> Windows XP: Technology by NT, interface by Fisher-Price
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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