Use HFS to host a website: Difference between revisions

From rejetto wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 5: Line 5:


You can also do this with HFS. Just follow these steps:
You can also do this with HFS. Just follow these steps:
# In the virtual file system, right-click on root(home) and click ''bind root to real-folder''.
# In the Virtual File System window, right-click on root (the little house) and click ''bind root to real-folder''.
# Select the folder containing files for the website.
# Select the folder containing files for the website.
# Right-click root again, and click ''default file mask''.
# Right-click root again -> Advanced, and click ''default file mask''.
# Type '''index.htm*'''.
# Type '''index.htm*'''.


The name "index.htm*" is normally ok, but your particular main page file may have a different name, such as "default.html"; check it out.
The name "index.htm*" is normally ok, but your particular main page file may have a different name, such as "default.html"; check it out.


No server-side scripting is currently supported.
HFS does not support server side scripting such as PHP or ASP but rather its own proprietary scripting called [[HFS:_Template_macros|macros]].
Macros must be done in the template however, as they will not be executed in HTML files that HFS simply sees as files to be downloaded, not processed.


; Disclaimer : HFS is not designed to publish websites.
; Disclaimer : HFS is not designed to publish websites.

Latest revision as of 01:00, 4 September 2011

Classic webservers are used to publish one or more websites. They operate in a simple way: you just need to indicate the location of a folder that contains files to be published.

You Need to be in Expert Mode.

You can also do this with HFS. Just follow these steps:

  1. In the Virtual File System window, right-click on root (the little house) and click bind root to real-folder.
  2. Select the folder containing files for the website.
  3. Right-click root again -> Advanced, and click default file mask.
  4. Type index.htm*.

The name "index.htm*" is normally ok, but your particular main page file may have a different name, such as "default.html"; check it out.

HFS does not support server side scripting such as PHP or ASP but rather its own proprietary scripting called macros. Macros must be done in the template however, as they will not be executed in HTML files that HFS simply sees as files to be downloaded, not processed.

Disclaimer
HFS is not designed to publish websites.