Page 1 of 1

[SOLVED] Change the Wapt server installation folder

Published: July 17, 2019 - 12:45 PM
by L. Guenier
Hello,

We have version 1.7.4.6143 installed on CentOS 7.
The WAPT files are installed in /var/www/html.
Everything works correctly.
We would like to change the installation directory to another directory (/data/nginx, for example).
What is the procedure to perform this operation?


Sincerely.

Re: Changing the Wapt server installation folder

Published: July 19, 2019 - 6:40 PM
by dcardon
Hello L.Guenier,
l.guenier wrote: July 17, 2019 - 12:45 PM We have version 1.7.4.6143 installed on CentOS 7.
The Wapt files are installed in /var/www/html.
Everything works correctly.
We would like to change the installation folder to another folder (/data/nginx for example).
What is the procedure to perform this operation?
The nginx html_home directory must be overridden with the `root /data/nginx/` directive in `/etc/nginx/nginx.conf` (it is not defined by default), and the change must be reflected in `/opt/wapt/conf/waptserver.ini` (using the `wapt_folder` and `waptwua_folder` parameters if applicable). I think that should be sufficient.

Sincerely,

Denis Cardon

Re: Changing the Wapt server installation folder

Published: July 25, 2019 - 09:35
by L. Guenier
Hello,

In the file /opt/wapt/conf/waptserver.ini, I only have the line `waptwua_folder = /var/www/html/waptwua`.
I don't have a `wapt_folder` line.
Therefore, I need to modify the `waptwua_folder` line. Do I need to add a line for `wapt_folder`?

Sincerely,

Laurent GUENIER.

Re: Changing the Wapt server installation folder

Published: September 18, 2019 - 00:06
by htouvet
You can specify both separately:

[options]
wapt_folder=/var/www/html/wapt
waptwua_folder=/var/www/html/waptwua.
...