Public_html Inside Domain/Subdomain
07-11-2021, 06:16 AM
(This post was last modified: 07-11-2021, 06:20 AM by zHostingSolutions.)
Hi.
After some time, I finally figured out how to edit the following modules where it will create domain_ext/public_html (i.e. zhostingsolutions_com/public_html).
Therefore, now, any script that says that files/directories need to be placed outside of the public view can be placed outside (i.e. zhostingsolutions_com/secure_non_public_file.php/public_html).
Also, the following still happens when domains/subdomains are created:
zhostingsolutions_com/public_html/_errorpages
zhostingsolutions_com/public_html/index.html
This is what I've been talking about needed to be in the core since zPanel when I came across y'all back in 2005.
Likewise, with subdomains. Here are the files for you to download and replace your domain and subdomain directories:
After some time, I finally figured out how to edit the following modules where it will create domain_ext/public_html (i.e. zhostingsolutions_com/public_html).
Therefore, now, any script that says that files/directories need to be placed outside of the public view can be placed outside (i.e. zhostingsolutions_com/secure_non_public_file.php/public_html).
Also, the following still happens when domains/subdomains are created:
zhostingsolutions_com/public_html/_errorpages
zhostingsolutions_com/public_html/index.html
This is what I've been talking about needed to be in the core since zPanel when I came across y'all back in 2005.
Likewise, with subdomains. Here are the files for you to download and replace your domain and subdomain directories: