From: C. Astley (c.astley@ntlworld.com)
Date: Sat Jun 23 2001 - 14:07:55 CEST
I've done it !
First I created a new directory in the ftp root called website, and
gave it full permissions (my ftp server is only local).
Then, after a lot of trial and error, I've written this little script:
chmod 644 /home/ftp/website/*
mv -f /home/ftp/website/* /usr/srv/thttpd
When I run the script, the contents of the 'website' directory are
moved to the web server root, leaving ftp/website empty for the next
transfer.
Well, it seems to work anyway :-)
Thanks to all for your help and comments, especially to Michele for
pointing me to the correct web server root.
Collin
----- Original Message -----
From: "Michele Andreoli" <m.andreoli@tin.it>
To: <mulinux@sunsite.dk>
Sent: Monday, June 18, 2001 8:41 AM
Subject: Re: [mu TECH] How do I upload my own web pages?
| On Sun, Jun 17, 2001 at 08:20:32PM -0700, Joshua Hudson nicely
wrote:
| > The root for the web server is /home/httpd.
| > Put your files there. You cannot access /home/httpd with ftp. You
| > must transfer either locally or a combination of ftp and telnet.
| >
|
| muLinux has two server-root: /home/httpd (pygmy rustic server) and
| /usr/srv/thttpd (thttpd server). The thttpd is made active only when
| SRV is mounted.
|
| Michele
|
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:19 CET