README 627 B

12345678910111213141516171819202122
  1. This demo demonstrates the routing mechanism of fpWeb.
  2. It can be run as a CGI or as a HTTP standalone server program.
  3. In order to get a correct set of routes in the demo, demorouting.ini file
  4. must be configured correctly and placed next to the binary.
  5. There is a different section for each type of binary: (CGI or Standalone)
  6. Each section needs at least the BaseURL key, this is the URL where the
  7. application can be reached.
  8. Example:
  9. [CGI]
  10. ; Assuming the demo is in cgi-bin
  11. BaseURL=http://localhost/cgi-bin/demorouting.cgi
  12. [Standalone]
  13. Port=8080
  14. ; Optional, the following is the default.
  15. ;BaseURL=http://localhost:8080/