Re: [webmin-l] Where does LetsEncrypt pick up the home directory?

John Hinton <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>

On 3/20/2017 7:29 PM, Jamie Cameron wrote:
> On 20/Mar/2017 13:54 John Hinton <[email protected]> wrote ..
>> So, I have this one virtualhost that was moved and I have looked
>> everywhere except for where it is, but LetsEncrypt insists that the home
>> directory is in /var/www/username while it is actually /home/username.
>> Where do I fix this? It's nowhere in the apache conf file. Nowhere that
>> I can see in Virtualmin. Webmin user directory is right. But somewhere
>> somehow, LetsEncrypt thinks it is elsewhere.
>>
>> I must admit, I'm sort of glad this happened because now I know that the
>> failure does send me emails and I do hope the email address for those
>> can be changed. I know I can do it by changing the email address on the
>> domain, but that sort of messes up resending sign ups, email box notices
>> and such.
> Virtualmin passes the home directory to Let's Encrypt based on the path
> it expects the domain to have. However, if you directly updated the Apache
> config, this may be out of date.
>
> The fix is to SSH in as root and run :
>
> virtualmin modify-web --domain yourdomain.com --fix-document-dir
>
>   - Jamie
>
>
Thanks Jamie. I had done a grep of the webmin directory and found 5 or 6 
domains that had path issues. I hope it is just as good to edit those 
files by hand. The files in /etc/webmin/virtual-server/domains?

Some had 3 different path errors. stats-pass, cgi-bin and public_html. 
Yes, some of these domains have been around for decades and moved from 
one server to another to another to another.

John

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.