<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-7">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Xairete paides....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sthn prospatheia mou na egkatastiso apache (2.0.49)
ego tis 2 parakato apories....(paizei kanonika o apache apla den mporo na bro
ikanopoihtikh apanthsh se auta)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) ston main server dhlonoume to ServerName...auto
giati ginetai? gia tupikous logous? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kai ekshgoume : exoume 2 pc. o enas me apache
server kai o allos o client. Esto oti ston client peirazoume to etc host (gia na
mhn trexoume me dns server) oste to <A
href="http://www.mainserver.gr">www.mainserver.gr</A> na peftei ston server....
eite baloume ip ston client gia to request, eite baloume <A
href="http://www.mainserver.gr">www.mainserver.gr</A> eite exoume kanei allh
dhlosh sto etc host dld to <A href="http://www.changed.gr">www.changed.gr</A> na
peftei sthn ip tou server tha apanthsei aneksarthtws apo to ServerName.... so?
giati to bazoume?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>2) esto dhlono os virtual host to
parakato</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2> </FONT><FONT face=Arial
size=2><VirtualHost 192.168.1.200></FONT></DIV>
<DIV><FONT face=Arial
size=2> </FONT><FONT
face=Arial size=2> ServerName <A
href="http://www.myvirtualhost.gr">www.myvirtualhost.gr</A></FONT></DIV>
<DIV><FONT face=Arial
size=2>
# Other directives go here</FONT></DIV>
<DIV><FONT face=Arial size=2>
</VirtualHost></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>giati xreiazetai kai to NameVirtualHost ?? den tha
eprepe auto na paizei...tou leei hdh oti an sou zhthsoun to tade servername kai
skasei sthn tade ip (192.168.1.200) apanta....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>sto Apache Server2 Bible tou Mohhamed Kabir leei to
parakato </FONT></DIV>
<DIV><B><FONT face=Formata-Medium size=5>
<P align=left><FONT face=Arial size=2>NameVirtualHost</FONT></P>
<P align=left></B></FONT><FONT size=2><FONT face=Arial>If you plan to use
name-based virtual hosts, you need to use the </FONT><FONT
face=Arial>NameVirtualHost </FONT></FONT><FONT size=2><FONT
face=Arial>directive. Although </FONT><FONT face=Arial>addr </FONT><FONT
face=Arial>can be the host name, I recommend that you always use
</FONT></FONT><FONT face=Arial size=2>an IP address.</FONT></P><B>
<P align=left><FONT face=Arial size=2>Syntax: </FONT></B><FONT size=2><FONT
face=Arial>NameVirtualHost <I>addr</I></FONT><FONT
face=Arial>[:<I>port</I></FONT><FONT face=Arial>]</FONT></FONT></P>
<P align=left><B><FONT face=Arial size=2>Default setting: </FONT></B><FONT
face=Arial size=2>None</FONT></P><B>
<P align=left><FONT face=Arial size=2>Context: </FONT></B><FONT face=Arial
size=2>Server config</FONT></P>
<P align=left><FONT face=Arial size=2>kati to opoio den mou leei kai
polla...Einai san na leei...balte to NameVirtualHost gia namebased virtual
host..alla sas protino ki olas na einai ip...</FONT></P>
<P align=left><FONT face=Arial size=2>(btw to parapano paradeigma den paizei an
den balo </FONT><FONT face=Arial size=2><FONT face=IndyCode
size=2>NameVirtualHost 192.168.1.200)</P></FONT></FONT></DIV>
<P align=left><FONT face=Arial size=2>kaneis kamia idea?? (eimai sigouros oti
tha exete..)</FONT></P>
<P align=left><FONT face=Arial size=2><A
href="mailto:P@nos">P@nos</A> (thxxxx)</FONT></P>
<P align=left><FONT face=Arial size=2></FONT> </P></BODY></HTML>