openlitespeed icon indicating copy to clipboard operation
openlitespeed copied to clipboard

built in variables add trailing slashes

Open meramsey opened this issue 2 years ago • 0 comments

Is this normal for the some of the Vars "$SERVER_ROOT" to add trailing slashes but not others?

Example: PHP_INI_SCAN_DIR=$SERVER_ROOT/conf/vhosts/$VH_NAME

Result: Scan this dir for additional .ini files     /usr/local/lsws//conf/vhosts/ubuntu-focal.whattheserver.com

Where if you change to not include slash despite looking weird here PHP_INI_SCAN_DIR=$SERVER_ROOTconf/vhosts/$VH_NAME

Result: Looks good here Scan this dir for additional .ini files     /usr/local/lsws//conf/vhosts/ubuntu-focal.whattheserver.com

Seems odd the behavior is inconsistent. Not sure if this is intentional though?

Current Version: OpenLiteSpeed 1.7.16

For context the default in example for the document root is like $VH_ROOT/html but it works as expected

this also happens with a few others

meramsey avatar May 30 '22 16:05 meramsey