Apache...and Virtual Hosts
Giannis Vrentzos
gvre at gvre.gr
Fri Nov 19 08:54:26 EET 2004
P at nos wrote:
> [snip]
>
[snip]
> xmm h ego den to ekshghsa sosta h esu den to epiases...
> Milao gia to ServerName sto main server...oxi se virtual host...
> pes oti den exo sthsei katholou virtual host. an o client pesei pano ston
> server (eite apo apanthsh tou dns eite giati to /etc/host ton kateuthinei
> pano ston apache server) o apache tha serbirei tis selides tou DocumentRoot
> tou main server... giati thelei to ServerName ston main server?
>
> Na to po kai allios
> esto o client exei sto etc/host to ekshs
> 192.168.0.100 www.server1.gr
> 192.168.0.100 www.server2.gr
>
> o xrhsths tou client eite zhthsei www.server1.gr eite zhthsei www.server2.gr
> tha pesei pano sthn ip tou server (192.168.0.100) kai o apache ekei tha
> dosei to periexomeno tou DocumentRoot....poios o logos gia to ServerName
> ston main server? (nomizo egina kourasthkos;p)
Ri3e mia matia edw:
http://httpd.apache.org/docs/mod/core.html#servername
http://httpd.apache.org/docs-2.0/mod/core.html#servername
Gvre
More information about the Linux-greek-users
mailing list