Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search
Reminder: On the servers affected by ChachaDDoS passwords for admin and root need to be changed necessarily

Let's Encrypt certificate update and SSL Home

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
mme000
Posts: 4
Joined: Thu May 31, 2018 12:58 pm

Os: CentOS 7x
Web: apache + nginx
Let's Encrypt certificate update and SSL Home
  • Quote

Post by mme000 » Thu May 31, 2018 1:21 pm

First of all, I have to thank you for this amazing control panel: I think it's really a great product.
I'm running version 0.9.8 Rel. 21 and almost everything works flawlessly. I just have a little annoying problem with the Let's Encrypt certificate update.
I use public_shtml as SSL Home and after updating the certificate my site doesn't work anymore. To make it working again, I have to edit the domain configuration and save it (to regenerate the configuration files).
It seems that the problem is related to the configuration file /home/admin/conf/web/<domainname>.httpd.ssl.conf and specifically to the following line:

php_admin_value open_basedir /home/admin/web/<domainname>/public_shtml:/home/admin/tmp

which, after the update is modified to:

php_admin_value open_basedir /home/admin/web/<domainname>/public_html:/home/admin/tmp

Is there any way to fix this problem?

Thx,

mme000
Top

mme000
Posts: 4
Joined: Thu May 31, 2018 12:58 pm

Os: CentOS 7x
Web: apache + nginx
Re: Let's Encrypt certificate update and SSL Home
  • Quote

Post by mme000 » Wed Jun 06, 2018 12:23 pm

Wow, am I the only one with this problem? :)
Top

mme000
Posts: 4
Joined: Thu May 31, 2018 12:58 pm

Os: CentOS 7x
Web: apache + nginx
Re: Let's Encrypt certificate update and SSL Home
  • Quote

Post by mme000 » Tue Jun 19, 2018 10:09 am

This night my certificate was renewed and, again, this morning the site was not working.
I had to enter the domain configuration, change from "public_shtml" to "public_html" and back to "public_shtml" and now everything works again.
Is there a solution to this annoying problem?
Top

sosojni
Posts: 3
Joined: Fri Jun 16, 2017 2:50 pm

Re: Let's Encrypt certificate update and SSL Home
  • Quote

Post by sosojni » Wed Jun 20, 2018 12:58 pm

Just one possible hint. Try to find templates for config files. Maybe you can create your own template where home folder will be only shtml. I did the same for specific case of wordpress + static caching and it's working flawlesly for months now
I can't tell you where exactly to search for templates as i don't have it in my head, but it's easy topic to find on forum / goole it up.

Hope it helps.
Top

mme000
Posts: 4
Joined: Thu May 31, 2018 12:58 pm

Os: CentOS 7x
Web: apache + nginx
Re: Let's Encrypt certificate update and SSL Home
  • Quote

Post by mme000 » Thu Jul 26, 2018 9:39 am

sosojni wrote: ↑
Wed Jun 20, 2018 12:58 pm
Just one possible hint. Try to find templates for config files. Maybe you can create your own template where home folder will be only shtml. I did the same for specific case of wordpress + static caching and it's working flawlesly for months now
I can't tell you where exactly to search for templates as i don't have it in my head, but it's easy topic to find on forum / goole it up.

Hope it helps.
Thank you for your help.
It wasn't necessary to create a new template, just to fix the old one.
I found that in my installation of Vesta, even if it's updated to the most recent version, the file /usr/local/vesta/data/templates/web/httpd/default.stpl contained the line

php_admin_value open_basedir %docroot%:%home%/%user%/tmp

instead of

php_admin_value open_basedir %sdocroot%:%home%/%user%/tmp

I changed it and everything works fine, now.

I think there is the same problem with basedir.stpl, hosting.stpl, phpcgi.stpl and phpfcgid.stpl in the same directory.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password