[Xitami] help on alias
d.butt
xitami@lists.xitami.org
Tue, 6 Nov 2001 12:40:43 -0000
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C166C0.403EDC60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The [Alias] Section
This section lets you define multiple document roots. Each alias =
specifies a name and a path. For example:=20
[Alias]
cdrom=3DG:\html
private/pub=3Di:\pub
private/doc=3Di:\docs\current
The alias name may contain '/'. It is not case sensitive. In A URL, the =
alias comes at the start, e.g.:=20
http://127.0.0.1/cdrom/index.htm
There is no fixed limit to the number of aliases you can define. =
However, if you define large numbers of aliases, Xitami will run slower. =
An alias can refer to a file, including extension. In this case, the =
file will act as a default file for that alias.=20
I've tried to follow the above, but don't know wether what I've put =
below is correct.
I'm trying to getthe browser to read an image from a file that lives in =
the cgi-bin. but all I get is an emmpty place holder where the image is =
suppose to be.
images=3Dc:\images\ http://127.0.0.1/c:/images/.gif/.jpg./.png
Dai
http://www.dezineasite.co.uk
http://www.crazybiker.f2s.com
------=_NextPart_000_000B_01C166C0.403EDC60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>The [Alias] Section<BR>This section =
lets you=20
define multiple document roots. Each alias specifies a name and a path. =
For=20
example: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana=20
size=3D2>[Alias]<BR>cdrom=3DG:\html<BR>private/pub=3Di:\pub<BR>private/do=
c=3Di:\docs\current</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana size=3D2>The alias name may contain '/'. It is =
not case=20
sensitive. In A URL, the alias comes at the start, e.g.: </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana size=3D2><A=20
href=3D"http://127.0.0.1/cdrom/index.htm">http://127.0.0.1/cdrom/index.ht=
m</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana size=3D2>There is no fixed limit to the number =
of aliases=20
you can define. However, if you define large numbers of aliases, Xitami =
will run=20
slower. An alias can refer to a file, including extension. In this case, =
the=20
file will act as a default file for that alias. <BR>I've tried to follow =
the=20
above, but don't know wether what I've put below is correct.<BR>I'm =
trying to=20
getthe browser to read an image from a file that lives in the cgi-bin. =
but all I=20
get is an emmpty place holder where the image is suppose to=20
be.<BR>images=3Dc:\images\ <A=20
href=3D"http://127.0.0.1/c:/images/.gif/.jpg./.png">http://127.0.0.1/c:/i=
mages/.gif/.jpg./.png</A></FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>Dai<BR><A=20
href=3D"http://www.dezineasite.co.uk">http://www.dezineasite.co.uk</A><BR=
><A=20
href=3D"http://www.crazybiker.f2s.com">http://www.crazybiker.f2s.com</A><=
/FONT></DIV></BODY></HTML>
------=_NextPart_000_000B_01C166C0.403EDC60--