We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Let'sEncrypt autorenew overwrites custom config of httpd.ssl.conf Topic is solved
Let'sEncrypt autorenew overwrites custom config of httpd.ssl.conf
Server: Centos
Web: Apache 2.4
Hello,
I have an https installation of Moodle, in wich I have to give access to the path /home/user/web/domain.com/moodledata to php. So I edit the file /home/user/conf/web/domain.com.httpd.ssl.conf and I get:
BUT, when the certificate of let'sEncript get renewed, the process overwrites all changes.
There is a way to keep the custom config in domain.com.httpd.ssl.conf?
Thanks in advance,
Mario
Web: Apache 2.4
Hello,
I have an https installation of Moodle, in wich I have to give access to the path /home/user/web/domain.com/moodledata to php. So I edit the file /home/user/conf/web/domain.com.httpd.ssl.conf and I get:
Code: Select all
#File /home/user/conf/web/domain.com.httpd.ssl.conf
...
<VirtualHost domain.com>
...
<directory /home/user/domain.com/web/public_html>
php_admin_value open_basedir ( ... ) /home/user/web/domain.com/moodledata
...
There is a way to keep the custom config in domain.com.httpd.ssl.conf?
Thanks in advance,
Mario
Re: Let'sEncrypt autorenew overwrites custom config of httpd.ssl.conf
Nevermind, I finally found the answer in the forum
viewtopic.php?f=11&hilit=open_basedir&p ... b2929fce95
Code: Select all
You're not really giving a lot of information here, but you might want to look into the php logs and see if there are errors about the open_basedir directive.
If this is the case, you'll need to adjust this. You can do so temporarily in your ~/conf/web/apache2.conf. If you want the changes to be permanent, you can change the template file in
/usr/local/vesta/data/templates/web/
Or, probably better, create a new template from default.tpl, and then select it in the control panel.