Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

built in variables add trailing slashes #318

Open
meramsey opened this issue May 30, 2022 · 0 comments
Open

built in variables add trailing slashes #318

meramsey opened this issue May 30, 2022 · 0 comments

Comments

@meramsey
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant