[Xitami] setting up virtual hosts locally

Brandl, Thomas xitami@lists.xitami.org
Wed, 26 May 2004 09:22:36 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C442F2.3817E340
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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

	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
=09
=09
	Hi all,
	=20
	I'm 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

	---
	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
=09

------_=_NextPart_001_01C442F2.3817E340
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C4430A.033ED580" rel=3DFile-List><!--[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]-->
<STYLE>@font-face {
	font-family: Verdana;
}
@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; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P.MsoPlainText {
	FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"; =
mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoPlainText {
	FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"; =
mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoPlainText {
	FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Courier New"; =
mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
SPAN.EmailStyle17 {
	FONT-WEIGHT: normal; COLOR: gray; FONT-STYLE: normal; FONT-FAMILY: =
Verdana; TEXT-DECORATION: none; text-underline: none; mso-style-type: =
personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; =
mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Verdana; =
mso-hansi-font-family: Verdana; text-line-through: none
}
SPAN.SpellE {
	mso-style-name: ""; mso-spl-e: yes
}
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 style=3D"tab-interval: 36.0pt" vLink=3Dpurple =
link=3Dblue>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Hi Nick,</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>take a look at your system folder in the=20
systems32/drivers/etc directory. I'm not completely sure about XP, but =
there=20
should be a file called hosts, which is sth. like the local SOA and has =
entries=20
like</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
mylocal.machine.net</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><FONT face=3DArial color=3D#0000ff=20
size=3D2>127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
vhost1.local.net</FONT></SPAN></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><FONT face=3DArial color=3D#0000ff=20
size=3D2>127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
vhost2.local.net</FONT></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></SPAN></SPAN></SPAN></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><FONT face=3DArial color=3D#0000ff =
size=3D2>If you're using a=20
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=20
the browser you're using (tools/connections/proxy settings or similar - =
I have a=20
german version here, so I don't know the correct english=20
terms)</FONT></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><FONT face=3DArial color=3D#0000ff=20
size=3D2></FONT></SPAN></SPAN></SPAN></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><FONT face=3DArial color=3D#0000ff =
size=3D2>good=20
luck!</FONT></SPAN></SPAN></SPAN></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><SPAN class=3D039521307-26052004><SPAN=20
class=3D039521307-26052004><FONT face=3DArial color=3D#0000ff=20
size=3D2>Thomas</FONT></SPAN></SPAN></SPAN></SPAN></DIV><BR>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Nick Wilsdon=20
  [mailto:n.wilsdon@e3internet.com] <BR><B>Sent:</B> Mittwoch, 26. Mai =
2004=20
  08:13<BR><B>To:</B> xitami@lists.xitami.org<BR><B>Subject:</B> =
[Xitami]=20
  setting up virtual hosts locally<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><FONT face=3DVerdana color=3D#333333 =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: #333333; FONT-FAMILY: Verdana">Hi=20
  all,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DVerdana color=3D#333333 =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: #333333; FONT-FAMILY: =
Verdana"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DVerdana color=3D#333333 =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: #333333; FONT-FAMILY: =
Verdana">I&#8217;m sure this is=20
  rather an obvious question but I seem to be getting a bit stuck here. =
I wanted=20
  to set up <SPAN class=3DSpellE>Xitami</SPAN> to run on my local XP =
machine, with=20
  virtual hosts for each of my sites (work in progress I take home). I =
have some=20
  experience setting up the hostname and DNS on a live *nix box with =
apache but=20
  this machine is completely offline. Is this possible? How would the =
DNS work=20
  on <SPAN class=3DSpellE>localhost</SPAN>? Any pointers/tutorials would =
be=20
  greatly appreciated.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DVerdana color=3D#333333 =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: #333333; FONT-FAMILY: =
Verdana"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DVerdana color=3D#333333 =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: #333333; FONT-FAMILY: =
Verdana">Thanks,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DVerdana color=3D#333333 =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: #333333; FONT-FAMILY: =
Verdana"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DVerdana color=3D#333333 =
size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: #333333; FONT-FAMILY: =
Verdana">Kino<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DVerdana color=3Dgray size=3D2><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: =
Verdana"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
  style=3D"FONT-SIZE: =
12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV><BR>
  <P><FONT size=3D2>---<BR>Outgoing mail is certified Virus =
Free.<BR>Checked by=20
  AVG anti-virus system (http://www.grisoft.com).<BR>Version: 6.0.688 / =
Virus=20
  Database: 449 - Release Date:=20
18.05.2004<BR></FONT></P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C442F2.3817E340--