Use HFS to host a website
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:
- 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.
- Right-click root again -> Advanced, and click default file mask.
- 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.
- HFS is not designed to publish websites.