Use HFS to host a website: Difference between revisions
Jump to navigation
Jump to search
m (How does a webserver work moved to Use HFS to host a website: this is more like a specific tutorial, i will move it to the tutorial section) |
No edit summary |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
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 [[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. | |||
Latest revision as of 02: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:
- 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.
- Disclaimer
- HFS is not designed to publish websites.