Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:lslb:zconfsetup [2019/01/09 16:59] Kevin Fwu |
litespeed_wiki:lslb:zconfsetup [2019/01/09 19:47] Kevin Fwu |
||
---|---|---|---|
Line 31: | Line 31: | ||
* Self-signed certificate is allowed | * Self-signed certificate is allowed | ||
==== ZConf password Setup ==== | ==== ZConf password Setup ==== | ||
+ | * Determine where to place the htpasswd file. **This file must be in a directory readable by the user running the ADC worker (default nobody).** | ||
* Run the following command to generate ''.htpasswd'' file from console <code> | * Run the following command to generate ''.htpasswd'' file from console <code> | ||
- | htpasswd -c /PATH_YOU_WANT/.htpasswd zero | + | htpasswd -c /HTPASSWD_PATH/.htpasswd zero |
</code> | </code> | ||
* Then enter password (e.g.''zero'') two times | * Then enter password (e.g.''zero'') two times | ||
Line 46: | Line 47: | ||
===General section=== | ===General section=== | ||
* Set **Enable Zero Config** to ''Yes'' | * Set **Enable Zero Config** to ''Yes'' | ||
- | * Set **User Password File** to ''/PATH_YOU_WANT/.htpasswd'' | + | * Set **User Password File** to ''/HTPASSWD_PATH/.htpasswd'' |
- | * OPTIONAL: Set **Group Password File** to ''/PATH_YOU_WANT/.htgroup'' | + | * OPTIONAL: Set **Group Password File** to ''/HTGROUP_PATH/.htgroup'' |
* Set **ZConf SHM Directory** to ''$SERVER_ROOT/zconf'' | * Set **ZConf SHM Directory** to ''$SERVER_ROOT/zconf'' | ||
Line 79: | Line 80: | ||
==== ZConf password Setup ==== | ==== ZConf password Setup ==== | ||
+ | * Determine where to place the .zconfpasswd file. **This file must be in a directory readable by the user running cPanel.** | ||
* Run the following command to generate the ''.zconfpasswd'' file from console: <code> | * Run the following command to generate the ''.zconfpasswd'' file from console: <code> | ||
echo 'zero:zero' > /PATH_YOU_WANT/.zconfpasswd | echo 'zero:zero' > /PATH_YOU_WANT/.zconfpasswd |