Small Introduction to Home Web Server

Server-Replace-Data

Next line values are generated from the server if the replace data checkbox in http settings window is checked (this example shows only few of those, but this already proves quite well what i'm trying say, i hope):

Server time: ?? 07:31:32
Server date: 2024/11/26
Current user address: 185.135.76.179
Current user name: Anonymous

User accounts

When there is "member" users added into the list for their private directories they should use next parameters for logging in:

Username:
Password:

And also, if you want you can make your web server to run as really "service" for your clients. If you want to rent home page space for your fiends or customers, that will be possible if you define root aliases in http settings window. For example if one of your customers (= company A) wants to have some web page space from your server you would define /company A/ as new root alias and browse good real folder from your server for them. They web pages can now be located into that folder - and customers clients can access that folder by writing "www.yourdomain.com/company A/" into their browsers.

Customized reply messages

There is some additional documents that is recommended to build up, all located in templates folder set in settings form of application:
  • filenotfound
  • unauthorized access file
  • loginsuccesfull
  • loginfailed file
  • logged out succesfully file

    When these files are defined - the home web server won't use it's default messages for these; it replaces these messages with these custom html docs. Also these forms go through the server data filter if that is enabled from the http settings form in application. I hope this demo creared out some very important special features of this home web server compared to the others :).

  • CGI and ISAPI support

    Home web server has support for both CGI applications and ISAPI extensions. These are server side applications that are possible to link when browsing your web pages and they could have some actions in them. PHP compiler for example is one example of CGI application. Also to see what they really are you can test one at downstairs - Forum for example is CGI application also.

    To support these application you must have enable CGI checkbox checked and/or ISAPI enable checkbox checked on http settings window. Also it is recommended to use alias for these application, otherwise all ".exe" files are considered to be CGI applications and ".dll" files are considered to be ISAPI extension files - and are handled that way also. This alias should also present the folder in your web root directory. For example alias /cgi-bin/ would mean that you have all your applications stored in f:\http\published\cgi-bin\ folder for example.

    PHP compiler is available to download at PHP net, it's freeware and should be properly installed to have Home Web Server PHP support working properly. It's not implemented into application, because there is no need and it's so new that it's still changing quite heavily. After you have set up home web server with php functionality, you can test php by running the test.php script supplied with this package.

    CGI example

    To little bit demonstrate of what cgi is about, there is example cgi application supplied with this package. It's cgi that you can use to allow clients to upload files onto your server with form like below:

    Select File:
    Even this is example cgi application, there is all needed built in to really apply this to something usefull. Check the _upload.txt file in the cgi-bin folder, it contains the current settings for uploading the file. In this demo the files are uploaded to C:\ folder.

    Open SSL support

    Yes, also security is taken care of. I've implemented Open SSL support to Home Web Server. This, however, is never the easy thing on server side. On server side - if willing to have https in use you have to have all cerificate files defined. Luckily they are possibly to do by your self quite easily. To get more information about how this is working, visit Open SSL. There is also text document supplied with home web server package that contains some information also about generating the certificate files, and where to locate those .dll files.

    I hope you enhoy serving web pages with home web server. Please support this effor by giving feedback: feature requests and bug reports - and why not also comments at gate io referral.

    Best regards,
    API