web.config
or .htaccess
brew install commandbox
commandbox.properties
file
commandbox_home=../_servers
sudo -E box
server start
BonCodeAJP13.settings
httpd.conf
(Apache)server.json
server stop
server start --verbose
server set app.engine=
"[email protected]+466"
server set jvm.javaVersion=
"openjdk11_jdk_11.0.19+7"
server set runwar.args=
"--case-senstive-web-server=false"
server set dotenvFile=../.env
PROFILE=development
DB-PASSWORD=myPassword123
BOX_SERVER_MODCFML_SHAREDKEY=
wrong-password
WEB-CONTEXT-1-WEBROOT=
C:/websites/web-context-1.localhost
.cfconfig.json
.cfconfig.web-context-1.json
.cfconfig.web-context-2.json
{"sessionTimeout":"1,0,0,0"}
{"sessionTimeout":"0,1,0,0"}
{"sessionTimeout":"0,0,1,0"}
Extending CommandBox - 3b
server set cfconfig.server=
.cfconfig.json
server set cfconfig.web-${WEB-CONTEXT-1-WEBROOT}=
.cfconfig.web-context-1.json
server set cfconfig.web-C:/websites/web-context-2.localhost=
.cfconfig.web-context-2.json
The last example won't work because of the :
server set service.name=
"Lucee CommandBox"
server set service.displayname=
"Lucee CommandBox Service"
server set service.servicename=
"lucee-commandbox"
Questions?
Feedback?
Comments?