In Apache, I was used to setting all vhosts up to listen to a wildcard (*) character, and specify the ServerName and possible Aliasses in the vhost config. In OpenLiteSpeed, I don't seem to be able to do that. When I use the asterisk * in all 'domain' fields for my possible vhosts, the listener...
Thanks for your efforts. Turned out Apache was also still installed on this server. The service was stopped, but because the server was restarted, the service automatically restarted, throwing off ports 80 and 443.
I've seen multiple reports on this, and there could very well be something wrong in my setup, but I can't figure it out. I've got these two vhosts, one for the main site:
docRoot $VH_ROOT
vhDomain domain.com
vhAliases www.domain.com
adminEmails...
I had a redis server installed on my server already, since we were using it when we were still using apache as webserver. So now I installed openlitespeed and the lsphp82-redis package (the server uses PHP 8.2 at the moment). But, PHP complains that the Redis class doesn't exist, and installing...
Well initially I assumed that setting the UID mode of the virtualhost to 2 would make as least the external apps run as the document root owner (which it does), or that setting the suExec user/group would (and that also does), or that setting the user/group of the external app would (and it also...
I tried multiple, all with no avail (at one point I even tried 777 if I remember correctly). It seems the external app does switch to the designated user to execute the script, but the documentroot still needs some kind of ownership by the group that the server runs as. Is this expected behavior?
OK, so I found out that openlitespeed actually did the external app as the user, but the document root of the virtualhost needs to be assigned to the group that the server runs as (in my case 'nogroup'), or the user 'nobody' needs to be added to the group that owns the documentroot. Why is that...
I'm trying to setup OpenLiteSpeed, and I want PHP to run as a certain user and a certain group in a certain virtual host. I've turned the entire knowledge base upside down, especially this section obviously.
But, whatever I do, the PHP socket that is created is owned by the default nobody and...