[Xitami] setting up virtual hosts locally
Nick Wilsdon
xitami@lists.xitami.org
Wed, 26 May 2004 11:33:51 +0400
This is a multi-part message in MIME format.
------=_NextPart_000_0237_01C44315.532F00A0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Thanks Thomas, I=92ll give that a go tonight and let you know how it =
went.
:-)
=20
Best,
=20
Kino
=20
-----Original Message-----
From: xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org] On Behalf Of Brandl, Thomas
Sent: Wednesday, May 26, 2004 11:23 AM
To: xitami@lists.xitami.org
Subject: RE: [Xitami] setting up virtual hosts locally
=20
Hi Nick,
=20
take a look at your system folder in the systems32/drivers/etc
directory. I'm not completely sure about XP, but there should be a file
called hosts, which is sth. like the local SOA and has entries like
=20
127.0.0.1 mylocal.machine.net
127.0.0.1 vhost1.local.net
127.0.0.1 vhost2.local.net
=20
If you're using a proxy for your internet connection, you have to add to
add these domains (*.local.net and *.machine.net) to the "don't use
proxy for these sites" list in the browser you're using
(tools/connections/proxy settings or similar - I have a german version
here, so I don't know the correct english terms)
=20
good luck!
Thomas
=20
_____ =20
From: Nick Wilsdon [mailto:n.wilsdon@e3internet.com]=20
Sent: Mittwoch, 26. Mai 2004 08:13
To: xitami@lists.xitami.org
Subject: [Xitami] setting up virtual hosts locally
Hi all,
=20
I=92m sure this is rather an obvious question but I seem to be getting a
bit stuck here. I wanted to set up Xitami to run on my local XP machine,
with virtual hosts for each of my sites (work in progress I take home).
I have some experience setting up the hostname and DNS on a live *nix
box with apache but this machine is completely offline. Is this
possible? How would the DNS work on localhost? Any pointers/tutorials
would be greatly appreciated.
=20
Thanks,
=20
Kino
=20
=20
=20
=20
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 18.05.2004
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 18.05.2004
=20
------=_NextPart_000_0237_01C44315.532F00A0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DWindows-1252">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C44315.51B8B450">
<link rel=3DEdit-Time-Data href=3D"cid:editdata.mso@01C44315.51B8B450">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"time"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"date"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:204;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:204;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:536871559 0 0 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Courier New";
mso-fareast-font-family:"Times New Roman";}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Verdana;
mso-ascii-font-family:Verdana;
mso-hansi-font-family:Verdana;
color:gray;
mso-text-animation:none;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
span.EmailStyle20
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Verdana;
mso-ascii-font-family:Verdana;
mso-hansi-font-family:Verdana;
color:gray;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=3DEN-GB link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:36.0pt'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3D"#333333" =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'>Thanks =
Thomas, I=92ll
give that a go tonight and let you know how it went. </span></font><font
size=3D2 color=3D"#333333" face=3DWingdings><span =
style=3D'font-size:10.0pt;font-family:
Wingdings;mso-ascii-font-family:Verdana;mso-hansi-font-family:Verdana;
color:#333333;mso-char-type:symbol;mso-symbol-font-family:Wingdings'><spa=
n
style=3D'mso-char-type:symbol;mso-symbol-font-family:Wingdings'>J</span><=
/span></font><font
size=3D2 color=3D"#333333" face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:
Verdana;color:#333333'><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3D"#333333" =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'><o:p> <=
/o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3D"#333333" =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'>Best,<o:p></=
o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3D"#333333" =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'><o:p> <=
/o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3D"#333333" =
face=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'>Kino<o:p></o=
:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dgray face=3DVerdana><span =
style=3D'font-size:
10.0pt;font-family:Verdana;color:gray'><o:p> </o:p></span></font></p=
>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
face=3DTahoma><span
lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'>---=
--Original
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
xitami-admin@lists.xitami.org
[mailto:xitami-admin@lists.xitami.org] <b><span =
style=3D'font-weight:bold'>On
Behalf Of </span></b>Brandl, Thomas<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> =
</span></font><st1:date
Month=3D"5" Day=3D"26" Year=3D"2004"><font size=3D2 face=3DTahoma><span =
lang=3DEN-US
=
style=3D'font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'>Wed=
nesday,
May 26, 2004</span></font></st1:date><font size=3D2 face=3DTahoma><span
lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'>
</span></font><st1:time Hour=3D"11" Minute=3D"23"><font size=3D2 =
face=3DTahoma><span
lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'>11:=
23
AM</span></font></st1:time><font size=3D2 face=3DTahoma><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'><br=
>
<b><span style=3D'font-weight:bold'>To:</span></b> =
xitami@lists.xitami.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [Xitami] =
setting up
virtual hosts locally</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Hi =
Nick,</span></font><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>take a
look at your system folder in the systems32/drivers/etc directory. I'm =
not
completely sure about XP, but there should be a file called hosts, which =
is
sth. like the local SOA and has entries =
like</span></font><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>127.0.0.1 &n=
bsp;
mylocal.machine.net</span></font><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>127.0.0.1 &n=
bsp;
vhost1.local.net</span></font><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>127.0.0.1 &n=
bsp;
vhost2.local.net</span></font><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>If
you're using a proxy for your internet connection, you have to add to =
add these
domains (*.local.net and *.machine.net) to the "don't use proxy for =
these
sites" list in the browser you're using (tools/connections/proxy =
settings
or similar - I have a german version here, so I don't know the correct =
english
terms)</span></font><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'> <o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>good
luck!</span></font><o:p></o:p></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dblue
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;color:blue'>Thomas</span></fo=
nt><o:p></o:p></p>
<blockquote style=3D'border:none;border-left:solid blue =
1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'=
>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
<div class=3DMsoNormal align=3Dcenter =
style=3D'margin-left:36.0pt;text-align:center'><font
size=3D3 face=3D"Times New Roman"><span lang=3DEN-US =
style=3D'font-size:12.0pt;
mso-ansi-language:EN-US'>
<hr size=3D2 width=3D"100%" align=3Dcenter>
</span></font></div>
<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><b><font size=3D2 face=3DTahoma><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US;font=
-weight:
bold'>From:</span></font></b><font size=3D2 face=3DTahoma><span =
lang=3DEN-US
style=3D'font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'> =
Nick
Wilsdon [mailto:n.wilsdon@e3internet.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Mittwoch, 26. Mai =
2004 08:13<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
xitami@lists.xitami.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Xitami] setting =
up
virtual hosts locally</span></font><span lang=3DEN-US =
style=3D'mso-ansi-language:
EN-US'><o:p></o:p></span></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3D"#333333"
face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'>Hi
all,<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3D"#333333"
face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'><o:p> <=
/o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3D"#333333"
face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'>I=92m
sure this is rather an obvious question but I seem to be getting a bit =
stuck
here. I wanted to set up Xitami to run on my local XP machine, with =
virtual
hosts for each of my sites (work in progress I take home). I have some
experience setting up the hostname and DNS on a live *nix box with =
apache but
this machine is completely offline. Is this possible? How would the DNS =
work on
localhost? Any pointers/tutorials would be greatly =
appreciated.<o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3D"#333333"
face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'><o:p> <=
/o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3D"#333333"
face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'>Thanks,<o:p>=
</o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3D"#333333"
face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'><o:p> <=
/o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3D"#333333"
face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:#333333'>Kino<o:p></o=
:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D2 =
color=3Dgray
face=3DVerdana><span =
style=3D'font-size:10.0pt;font-family:Verdana;color:gray'><o:p> </o:=
p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
<p style=3D'margin-left:54.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p>
</blockquote>
</div>
</body>
</html>
<BR>
<P><FONT SIZE=3D2>---<BR>
Incoming mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.688 / Virus Database: 449 - Release Date: 18.05.2004<BR>
</FONT> </P><BR>
<P><FONT SIZE=3D2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.688 / Virus Database: 449 - Release Date: 18.05.2004<BR>
</FONT> </P>
------=_NextPart_000_0237_01C44315.532F00A0--