Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / packages / fcl-web / examples / routing
  ..
  README
  sample.ini
  demorouting.lpr
  demorouting.lpi
  routes.pp
Size: Mime:
This demo demonstrates the routing mechanism of fpWeb.

It can be run as a CGI or as a HTTP standalone server program.

In order to get a correct set of routes in the demo, demorouting.ini file
must be configured correctly and placed next to the binary.

There is a different section for each type of binary: (CGI or Standalone)

Each section needs at least the BaseURL key, this is the URL where the
application can be reached.

Example:

[CGI]
; Assuming the demo is in cgi-bin
BaseURL=http://localhost/cgi-bin/demorouting.cgi

[Standalone]
Port=8080
; Optional, the following is the default.
;BaseURL=http://localhost:8080/