Skip to content

Configuration

LiuTao edited this page Nov 11, 2016 · 3 revisions

Format

The default config file is eloquent-mvc.yaml in config/ directory, and it's in YAML format. See the following content for details.

  • application
    • root The absolute path of the project's root directory
  • log
    • directory The absolute path of the log directory
  • server
    • port The port number listend by the web server
    • server The type of server to be started. Valid values are fcgi, hunchentoot, toot, woo and wookie.
  • static-file
    • prefix All the request, whose PATH-INFO slot starts with this value, can be handled by this middleware. It will search a file whose name is the same as the suffix under the directory /static/.
Clone this wiki locally