-
Notifications
You must be signed in to change notification settings - Fork 52
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
Server not working reliably after changing document root #241
Comments
Hi @benoitchantre, |
Hi @sych74, From what I remember, I did the document root change from the admin only at first. When we update values from the GUI, this should update vhconf.xml on all servers, right? -- Update: I can confirm you that the |
Hi @benoitchantre, |
@sych74 Is it a bug then? |
@benoitchantre |
@sych74 Thank you for clarifying that. It would be useful to add this info in the documentation. This will avoid headaches to many people. In Jelastic UI and in emails sent by Jelastic, you only get the link to the main node. That’s why I expected the changes done in the LiteSpeed console to be applied to other nodes of the same type. |
@benoitchantre Thank you, |
I'm trying to use this template with a custom document root.
Instead of using $VH_ROOT/ROOT/, I want to use $VH_ROOT/ROOT/current/public/
My configuration works for a moment, but after a few minutes, the server tries to load files from $VH_ROOT/ROOT/ instead of $VH_ROOT/ROOT/current/public/ without any changes in the configuration.
When I redeploy the load balancers and the the application servers, I works again.
Here's what I did to change the document root:
In LiteSpeedWEB Server, the virtual host root has been updated
In /home/litespeed/bin/setupWP.sh, the following constant value has been updated
SERVER_WEBROOT=/var/www/webroot/ROOT/current/public/
In /etc/jelastic/redeploy.conf, the following path were added:
Did I miss something?
—
Update : I have found that one of the vhconf.xml kept the default value for the document root. After having changed the value manually in this file all web servers use the desired document root.
The text was updated successfully, but these errors were encountered: