I have a 2 almost identical VPS:
1. Ubuntu 18.04/1-click install on DigitalOcean 1.5.10 (LS9)
2. Ubuntu 18.04/Manually installed from binaries 1.5.10 with ols.conf (LS12)
SERVERROOT=/usr/local/lsws
OPENLSWS_USER=www-data
OPENLSWS_GROUP=www-data
OPENLSWS_ADMIN=admin
OPENLSWS_PASSWORD=********
OPENLSWS_EMAIL=root@localhost
OPENLSWS_ADMINSSL=yes
OPENLSWS_ADMINPORT=7080
USE_LSPHP7=yes
DEFAULT_TMP_DIR=/tmp/lshttpd
PID_FILE=/tmp/lshttpd/lshttpd.pid
OPENLSWS_EXAMPLEPORT=8088
I need to protect some dirs (e.g. phpmyadmin)
It can be implement by Realm (with passwords) + Static Content
All works well, BUT on manually installed lsws 1.5.10 it doesn't work at all whilst on 1-click-installed - without any problem
Configurations are the same (see attachment)
https://ls9.dau.org.ua/phpmyadmin/ (test:test123) - works
https://ls12.dau.org.ua/phpmyadmin/ (test:test123) - doesn't work
What I'm doing wrong? I don't understand. Please help.
P.S. The group creation results in "0" for the name of the first one:
Also user creation/update does't append it to an existing group and do
1. Ubuntu 18.04/1-click install on DigitalOcean 1.5.10 (LS9)
2. Ubuntu 18.04/Manually installed from binaries 1.5.10 with ols.conf (LS12)
SERVERROOT=/usr/local/lsws
OPENLSWS_USER=www-data
OPENLSWS_GROUP=www-data
OPENLSWS_ADMIN=admin
OPENLSWS_PASSWORD=********
OPENLSWS_EMAIL=root@localhost
OPENLSWS_ADMINSSL=yes
OPENLSWS_ADMINPORT=7080
USE_LSPHP7=yes
DEFAULT_TMP_DIR=/tmp/lshttpd
PID_FILE=/tmp/lshttpd/lshttpd.pid
OPENLSWS_EXAMPLEPORT=8088
I need to protect some dirs (e.g. phpmyadmin)
It can be implement by Realm (with passwords) + Static Content
All works well, BUT on manually installed lsws 1.5.10 it doesn't work at all whilst on 1-click-installed - without any problem
Configurations are the same (see attachment)
https://ls9.dau.org.ua/phpmyadmin/ (test:test123) - works
https://ls12.dau.org.ua/phpmyadmin/ (test:test123) - doesn't work
What I'm doing wrong? I don't understand. Please help.
P.S. The group creation results in "0" for the name of the first one:
Also user creation/update does't append it to an existing group and do
Attachments
-
1.4 KB Views: 0
-
6.5 KB Views: 0
-
1 KB Views: 2
-
6.7 KB Views: 1
Last edited: