Use HFS to host a website: Difference between revisions

From rejetto wiki
Jump to navigation Jump to search
No edit summary
 
Line 7: Line 7:


== Setting your default page as a Web Site ==
== Setting your default page as a Web Site ==
For when you want the default homepage to open a file other than the default HFS  HTML Template
For when you want the default homepage to open a file other than the default HFS  HTML Template.


1. Right-click on the "home" icon in the "Virtual File System" and select "Default file mask". Enter the name of the file you want HFS to open on default:
1. Right-click on the "home" icon in the "Virtual File System" and select "Default file mask". Enter the name of the file you want HFS to open on default:
Line 14: Line 14:


3. Copy all the files that your "index.html" needs to access into your "home" directory in the "Virtual File System". (this includes your "index.html" file) All files including pictures, other html files, and text need to be copied into your "home" "Virtual File System".
3. Copy all the files that your "index.html" needs to access into your "home" directory in the "Virtual File System". (this includes your "index.html" file) All files including pictures, other html files, and text need to be copied into your "home" "Virtual File System".


== Setting a sub-folder to open your Web Site ==
== Setting a sub-folder to open your Web Site ==

Revision as of 17:43, 13 April 2006

A webserver is defined by Wikipedia as:

A computer that is responsible for accepting HTTP requests from clients, which are known as Web browsers, and serving them Web pages, which are usually HTML documents and linked objects (images, etc.).


This article will focus on explaining how to use HFS as a web server for web sites.


Setting your default page as a Web Site

For when you want the default homepage to open a file other than the default HFS HTML Template.

1. Right-click on the "home" icon in the "Virtual File System" and select "Default file mask". Enter the name of the file you want HFS to open on default:

For typical web pages, you would want to enter "index.html" into the text box. (You should be able to enter any file into the text box that you want.)

3. Copy all the files that your "index.html" needs to access into your "home" directory in the "Virtual File System". (this includes your "index.html" file) All files including pictures, other html files, and text need to be copied into your "home" "Virtual File System".

Setting a sub-folder to open your Web Site

For when you want the sub-folder to open your web site.

1. Copy the folder with all the files that your web site needs to access into the "Virtual File System" as a Real folder. (this folder needs to includes your "index.html" file) All files including pictures, other html files, and text need to be copied into your "Virtual File System". (probably also works with virtual folders)

2. Right-click on the folder in the "Virtual File System" and select "Default file mask". Enter the name of the file you want HFS to open when the folder is accessed.

For typical web pages, you would want to enter "index.html" into the text box. (You should be able to enter any file into the text box that you want.)