[Xitami] vhost FTP

Mike Wilson xitami@lists.xitami.org
Thu, 31 Jan 2002 21:19:58 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_00F0_01C1AA9D.090B2FC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ok...first newbie issue for me..

ver. 2.5b4
Win98 environment
DSL, dynaminc IP with DNS update, lyksys router, ports to server forward =
and working

Xitami established fine out of the box, web-admin no problem and served =
a site by just dropping the folder into the "webpages" directory.  FTP =
came on fine referring to the standard dirctories and cgi's run fine =
with no issues.  All seems well, let's try the vhost wizzard and see if =
we can offer a user to ftp into the vhost. =20

Check the docs, faq on xitami site, 42 says...=20

-------------------------------------------------------------------------=
-------

42: I want each user to have FTP access to their personal web pages =20

You do not need aliases. Simply assign each user a subdirectory of the =
webpages directory, then specify this directory as their FTP home =
directory (using a full path).=20



-------------------------------------------------------------------------=
-------


I crank up the vhost wizzard and set the FTP root to point absolute to =
the subdirectory "web5", which in turn has been pointed to generate =
under "webpages".  I hit the "create" button and bingo, it's all there.  =
I call up the vhost administrator and can see the references and the =
permissions appear as I would expect.

                            web5 - FTP User Profiles=20

      User name: Password: Login directory: Permissions: Space used =
(Mb): Number of files:=20
      admin admin c:\program files\xitami\webpages\web5/ * 0 0=20
      anonymous  * c:\program files\xitami\webpages\web5/pub/ G 0 0=20
      ftp  * c:\program files\xitami\webpages\web5/pub/ G 0 0=20
      guest    c:\program files\xitami\webpages\web5/guest/ G 0 0=20
      upload  upload c:\program files\xitami\webpages\web5/upload/ P 0 0 =





So I fire up the FTPclient and point to www.XXX.XXX/web5, logging =
admin/admin and I end up at  the FTP root whith Pub, Guest and Upload.

So I try reauthenticating into upload, using upload/upload, send a file, =
hoping it routes to web5, but it lands in upload.

Have I missunderstood what FAQ 42 is trying to tell me?  Can someone =
please embarass me?



------=_NextPart_000_00F0_01C1AA9D.090B2FC0
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.4807.2300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Ok...first newbie issue for =
me..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>ver. 2.5b4</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Win98 environment</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>DSL, dynaminc IP with DNS update, =
lyksys router,=20
ports to server&nbsp;forward and working</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Xitami&nbsp;established&nbsp;fine out =
of the box,=20
web-admin no problem&nbsp;and served a site by just dropping the=20
folder&nbsp;into the "webpages" directory.&nbsp; FTP came on fine =
referring to=20
the standard dirctories and cgi's run fine with no issues.&nbsp; All =
seems well,=20
let's try&nbsp;the vhost&nbsp;wizzard and see if we can offer a user to =
ftp into=20
the vhost.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Check the docs, faq on xitami site, 42 =
says...=20
</FONT></DIV>
<DIV><B><FONT face=3DArial size=3D2>
<HR>
</FONT></B></DIV>
<P><B><FONT face=3DArial size=3D2>42: I want each user to have FTP =
access to their=20
personal web pages</FONT></B><A name=3Di_42><FONT face=3DArial=20
size=3D2>&nbsp;</FONT></A><FONT face=3DArial size=3D2> </FONT>
<P><FONT face=3DArial size=3D2>You do not need aliases. Simply assign =
each user a=20
subdirectory of the webpages directory, then specify this directory as =
their FTP=20
home directory (using a full path). </FONT></P>
<P><FONT face=3DArial size=3D2>
<HR>
</FONT>
<P></P>
<DIV><FONT face=3DArial size=3D2>I crank up the vhost wizzard and set =
the FTP root=20
to point absolute to the subdirectory "web5", which in turn has been =
pointed to=20
generate under "webpages".&nbsp; I hit the "create" button and bingo, =
it's all=20
there.&nbsp; I call up the vhost administrator and can see the =
references and=20
the permissions appear as I would expect.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D4>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; web5=20
- FTP User Profiles </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"90%">
  <TBODY>
  <TR>
    <TH vAlign=3Dtop align=3Dmiddle>User name:</TH>
    <TH vAlign=3Dtop align=3Dmiddle>Password:</TH>
    <TH vAlign=3Dtop align=3Dmiddle>Login directory:</TH>
    <TH vAlign=3Dtop align=3Dmiddle>Permissions:</TH>
    <TH vAlign=3Dtop align=3Dmiddle>Space used (Mb):</TH>
    <TH vAlign=3Dtop align=3Dmiddle>Number of files:</TH></TR>
  <TR>
    <TD vAlign=3Dtop align=3Dleft><A =
href=3D"javascript:submit('~C7.0')"><FONT=20
      color=3D#000000>admin</FONT></A></TD>
    <TD vAlign=3Dtop align=3Dleft>admin</TD>
    <TD vAlign=3Dtop align=3Dleft>c:\program =
files\xitami\webpages\web5/</TD>
    <TD vAlign=3Dtop align=3Dleft>*</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD></TR></TR>
  <TR>
    <TD vAlign=3Dtop align=3Dleft><A =
href=3D"javascript:submit('~C7.1')"><FONT=20
      color=3D#000000>anonymous</FONT></A> </TD>
    <TD vAlign=3Dtop align=3Dleft>*</TD>
    <TD vAlign=3Dtop align=3Dleft>c:\program =
files\xitami\webpages\web5/pub/</TD>
    <TD vAlign=3Dtop align=3Dleft>G</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD></TR></TR>
  <TR>
    <TD vAlign=3Dtop align=3Dleft><A =
href=3D"javascript:submit('~C7.2')"><FONT=20
      color=3D#000000>ftp</FONT></A> </TD>
    <TD vAlign=3Dtop align=3Dleft>*</TD>
    <TD vAlign=3Dtop align=3Dleft>c:\program =
files\xitami\webpages\web5/pub/</TD>
    <TD vAlign=3Dtop align=3Dleft>G</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD></TR></TR>
  <TR>
    <TD vAlign=3Dtop align=3Dleft><A =
href=3D"javascript:submit('~C7.3')"><FONT=20
      color=3D#000000>guest</FONT></A> </TD>
    <TD vAlign=3Dtop align=3Dleft>&nbsp;</TD>
    <TD vAlign=3Dtop align=3Dleft>c:\program =
files\xitami\webpages\web5/guest/</TD>
    <TD vAlign=3Dtop align=3Dleft>G</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD></TR></TR>
  <TR>
    <TD vAlign=3Dtop align=3Dleft><A =
href=3D"javascript:submit('~C7.4')"><FONT=20
      color=3D#000000>upload</FONT></A> </TD>
    <TD vAlign=3Dtop align=3Dleft>upload</TD>
    <TD vAlign=3Dtop align=3Dleft>c:\program =
files\xitami\webpages\web5/upload/</TD>
    <TD vAlign=3Dtop align=3Dleft>P</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD>
    <TD vAlign=3Dtop align=3Dleft>0</TD></TR></TBODY></TABLE></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So I fire up the FTPclient and point to =
<A=20
href=3D"http://www.XXX.XXX/web5"><FONT =
color=3D#000000>www.XXX.XXX/web5</FONT></A>,=20
logging&nbsp;admin/admin&nbsp;and I end up at&nbsp; the FTP root whith =
Pub,=20
Guest and Upload.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So I try reauthenticating into upload, =
using=20
upload/upload, send a file, hoping it routes to web5, but it lands in=20
upload.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#800000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#800000 size=3D2>Have I missunderstood =
what FAQ 42 is=20
trying to tell me?&nbsp; Can someone please embarass me?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_00F0_01C1AA9D.090B2FC0--