Skip to content

Latest commit

 

History

History
84 lines (68 loc) · 4.28 KB

Readme.md

File metadata and controls

84 lines (68 loc) · 4.28 KB

Multi Site Basic

Test the multi site features of CommandBox

Matrix

We need every combination of each of these items

  • Lucee CF Engine
  • Adobe CF Engine
  • Production profile
  • Development profile

Setup

For this test, define default settings in the web block and 3 sites in the server.json. Each site gets its own web root and should override some settings from the default config. Each site needs at least one hostAlias. Declare a top level HTTP binding that all sites share

  • site1
  • site2
  • site3

Need to verify that each setting for each site is picked up separately. Each site has its own access logs on disk that contain only its requests. Settings to configure on a per-site basis are

  • rewrites enabled/disabled
  • Single server.json file
  • HTTP binding
  • SSL Binding (default auto-gen cert)
  • AJP binding (recommend including dockerFile for Apache server with basic AJP proxy)
  • At least one virtual directory defined using a RELATIVE path which should be relative to the server.json file's containing directory.
  • GZip predicate
  • access log enabled
  • custom error page (404.cfm)
  • at least one custom server rule
  • at least one custom MIME type (.log -> text/plain)
  • custom welcome files (custom.cfm,index.cfm)
  • At least one allowed extension (.log)
  • at least one custom static file extension (.log)

Tests