Uploading Files to your Virtual Server
Uploading files to your Virtual Server is quite easy.
BWSD has provided a remote web content manager and file browser,
iManager, which
has a fill-out form interface to upload files from your local
computer to your virtual server. With iManager, you can use
your favorite browser client software (such as Netscape
Navigator or MSIE) to upload files to your Virtual Server.
Capability is also provided to edit the files on your Virtual
Server with your browser client.
If you want to manually upload a file to your Virtual Server, follow
these simple steps:
-
You will need an ftp client for your local machine. You can
find many free and useful clients on the Internet. Do a
Yahoo or
Webcrawler search for ftp
client and see what comes up.
If you use windows, we have found WS_FTP to be very useful. For
you Mac Die-hards, try Fetch.
-
Connect to your Virtual Server via ftp using your login id,
and your login password. Do not login as anonymous, as you will
not have access to the directories and files you need.
-
When you login to your site, you will be at your home directory.
This is the same directory you find yourself in when you telnet
to your site.
-
To upload Home Pages, go to the usr/local/etc/httpd/htdocs
directory. Here you will find index.html. This is the default
page that comes up when "http://www.yourname.com" is entered in
a browser.
You may upload your Home Pages here, or into any directory under the
htdocs directory. Be sure you ftp all your Home Page
files, as well as any text files such as cgi script source code in ASCII
format! All your image files need to be ftp'd in BINARY format.
-
If you ftp a file called test.htm to the htdocs directory,
it will be accessed by the address http://www.yourname.com/test.htm
If you make a directory called documents below the htdocs
directory, and ftp a file called info.html to that directory, it
will be accessed by the address http://www.yourname.com/documents/info.html
-
If you want to change the default page that comes up when you
enter http://www.yourname.com.... there are several approaches that can
be taken.
- upload the file into the htdocs directory, and rename
it to "index.html".
- establish a symbolic link to the file you uploaded to the
htdocs directory named index.html by typing the following
command:
ln -s <filename> index.html
- change the DirectoryIndex definition in the srm.conf
file to be the filename of the uploaded file.
|