Here is a list of the most commly asked support questions we recieve. For questions that you can't find answered here, feel free to contact us through one of our support channels. Also, feel free to recommend anything that we've missed here, this is a work in progress. :)

  Web-Hosting Basics
  1. How do I upload my documents? (FTP)
  2. How do I use SSI?
  3. Password Protecting Pages
  4. What can I do with .htaccess and what is it ?
How do I upload my documents? (FTP) 

The process by which files are transferred to the web server is called "FTP" (File Transport Protocol). You have unlimited access via FTP 24-hours a day. As such, you can create and maintain your web pages on your own computer and upload files to your web site at your leisure.

Internet providers such as AOL, Compuserve, and Prodigy may have a built-in FTP interface. If you have a PPP internet account and need an FTP program, you can download software for for either the PC or Mac below. PC users should download WinZip if you do not already have a program to extract .zip files.

This can be found at http://www.download.com

If you are using a Mac try using Fetch. Fetch can be obtained from:
Fetch

If you are using a PC try using WS_FTP which can be obtained from:
WSFTP

Configuring Your FTP Software
The following information is contained within your account activation notice and is needed to connect to your web site via FTP:

USERID
TEMP PASSWORD
FTP HOSTNAME
The hostname tells your FTP software to connect to the web server upon which your web site resides. In general, the process of configuring the various FTP software programs is the same. We recommend WS_FTP for PC computer users and will be using it in the upcoming examples.

Each time you run WS_FTP the Session Profile window will be displayed. A profile contains the information needed to connect to your web site. Creating a profile now will eliminate the need for you to configure the software each time you wish to connect to the web server via FTP. To create a new profile, click the "New" button and enter a generic profile name at the top of the Session Profile window. Next, enter the userid, password and hostname for your web site as illustrated below.

To make your home page load automatically, name the HTML document "index.htm" or "index.html" in lowercase and upload it to the root directory of your account. To upload a file or files, simply highlight the file(s) on the left and click the right-arrow button ("-->") in the center of the screen.

Be sure to upload HTML documents and scripts in ASCII mode and images in BINARY mode. To transfer a file to a subdirectory, double-click the appropriate subdirectory to open it before transferring the desired file(s).

As soon as a file is uploaded to the web server, it is available for all to see. If, after uploading a file, you are still unable to see the updated file via Netscape, you need to clear both disk and browser cache. This function can be found by selecting Options > Network Preferences in Netscape. Remember that you must first be connected to the internet through your local internet service provider in order to connect to the web server.

Acceptable File Names
(UNIX) is case sensitive. In other words, the file name "faq.html" is NOT the same as "FAQ.html". If your HTML code references a faq.html, but the actual file name is in uppercase, this will result in a File Not Found error. This applies to directory names as well.

To prevent errors, we suggest naming all files in lowercase. Spaces and and special control characters are generally not a good idea. The underscore character ("_") is acceptable. You should avoid special characters ( ! @ # $ % ^ & * : ' ) in file names. We suggest that you keep the length of file names to a minimum. The tilde (~) cannot be used in directory or file names.

Notes to Mac Users
Select "raw data" transfer mode when using Fetch to transfer both HTML and images.
PageMill may add either a .bin or .txt extension to your files which must be removed in order for such files to load properly.
Viewing Web Pages in Netscape
Webmasters often modify an HTML document and re-upload it to the server. After returning to their web browser they click RELOAD only to find the original document unchanged. This is a common occurrence for Netscape users and is easily remedied by clearing the browser's disk cache. This can be done in Netscape under Options > Network Preferences.

How do I use SSI? 

Server Side Include (SSI) commands are executed by the server as it parses your HTML file. Server side includes can be used to include the value of various server environment variables within your HTML such as the local date and time. One might use a server side include to add a signature file to an HTML file or company logo.

Check out
http://serviceisland.com/FAQ/SSIhelp.html

Password Protecting Pages 

You can assign unique userIDs and passwords to control access to various web pages. An example of this function is apparent when you access your own Access Panel -- each time you are prompted for your ID and password. The actual web pages are not password protected, but rather the directory in which they reside.

Example:
A software developer is making several programs available via the web, but only those visitors which have paid for the service should be allowed access to the download page. To control access, the page is placed in a directory which is password protected. Instead of distributing a single password, unique userids and passwords are assigned and removed as needed.

How to use:

1. Create the directory you wish to password protect
2. Select the link titled, "Modify HTACCESS" in your Acess Panel
Enter the name of the directory and click "submit"
The first time you use this function on each new directory, the page will send you to a Full protection scheme. If you are just starting out just click "submit" and move on.

A list of userIDs will be updated and displayed as you maintain the list. Create a new HTML document or copy an existing one into the directory and try loading the page from a web browser. If a password is required, you've done your job correctly!

Our password access control feature CANNOT be used to create additional FTP userids and passwords.

What can I do with .htaccess and what is it ? 

The .htaccess file is an ASCII text document that can be placed in any directory on your site. It can be used to control access to files and directories, and customize some server operation in your site. A .htaccess file can be created in any word processor but must be saved as text only. You must use FTP software in ASCII mode to upload or edit your .htaccess file. For the examples provided here, place the .htaccess file in your root directory. If you use frontpage do not modify the .htaccess because it will mess up your site! Some examples of the uses are shown here. Custom Error Messages Add the following to the .htaccess file::

ErrorDocument 404 /notfound.html After "ErrorDocument" specify the error code, followed by a space, and then the path and filename of the .html file you would like to be displayed when the specified error is generated.

Denying User Access Add the following to the .htaccess file: order allow,deny deny from 128.23.45. deny from 207.158.255.213 allow from all This is an example of a .htaccess file that will block access to your site to anyone who is coming from any IP address beginning with 128.23.45 and from the specific IP address 207.158.255.213 . By specifying only part of an IP address, and ending the partial IP address with a period, all sub-addresses coming from the specified IP address block will be blocked. You must use the IP addresses to block access, use of domain names is not supported.

Password protecting directories. The file .htaccess. This file should be in the directory which contains the documents to restrict access to. The contents of this file specify the name of the password file. For example if you were user username with web documents in the local directory "/home/yourname/public_html/members" that you wanted to restrict access to, your .htaccess might look like: AuthUserFile /home/yourname/public_html/members/.htpasswd AuthName Members Only AuthType Basic require valid-user Note that .htaccess will not work if there are extra spaces after AuthUserFile. The file .htpasswd. This file contains the passwords of the users. To create the .htpasswd file log in to this server using telnet, change directory to the directory you want to restrict access to, and type: htpasswd -c .htpasswd someuser for the first user (where someuser is the username). You will then be prompted twice for the user's password. The -c option causes the .htpasswd file to be created. For each additional user type: htpasswd .htpasswd someuser

Other examples can be found at http://www.apache.org

 

copyright 2004, 2005, 2006, 2007 ServiceIsland.com..