JimDeadlock
Verified User
- Joined
- Mar 11, 2023
- Messages
- 15
My custom DOCROOTs are no longer recognised, they have been working fine for years but suddenly showing 404 errors. Only main domains are affected, the custom subdomains are still fine.
/usr/local/directadmin/data/templates/custom/virtual_host2_secure.conf:
|?DOCROOT=`HOME`/domains/`DOMAIN`/site|
|?REALDOCROOT=`HOME`/domains/`DOMAIN`/site|
# sudo apachectl configtest
AH00112: Warning: DocumentRoot [/home/jim/domains/mydomain.com/public_html] does not exist
It seems to be defaulting to 'public_html' instead of the custom 'site' directory.
/usr/local/directadmin/data/templates/custom/virtual_host2_secure.conf:
|?DOCROOT=`HOME`/domains/`DOMAIN`/site|
|?REALDOCROOT=`HOME`/domains/`DOMAIN`/site|
# sudo apachectl configtest
AH00112: Warning: DocumentRoot [/home/jim/domains/mydomain.com/public_html] does not exist
It seems to be defaulting to 'public_html' instead of the custom 'site' directory.