Thanks David!!

On 2025-01-07 15:00, David Schwartz via PLUG-discuss wrote:
I don’t know that it has a formal name, maybe “account root”.

(Every folder except ‘/‘ has a “parent directory”.)

Everything from that point down is accessible to files in your account, but only stuff from public_html and down is accessible on the web via Apache.

When I look at what cPanel’s File Manager shows, as my “account root”, that’s what I see — tons of folders that have other uses OUTSIDE of what’s accessible via the web.

Scripts in and beneath public_html can refer to assets in those other areas (using localhost) but Apache won’t let them be accessed directly using a URI. Like, you can’t refer to a file using ../ from public_html that’s in a peer folder to public_html. But your scripts can, because THEIR root is your “account root”.

public_html is managed by Apache.

Your account’s scope is rooted at public_html/..

At least, that’s what’s common in *nix systems.

-David Schwartz




On Jan 7, 2025, at 9:32 AM, Keith Smith via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:

Hi,

I am running ubuntu and apache configured using PHP-FPM.

If my Docroot is : /var/www/<domain.tld>/public_html

Is there a title/name for /var/www/<domain.tld>

I allow the user that owns the docroot to also own the subordinate folder: /var/www/<domain.tld>

Does  /var/www/<domain.tld> have a name/title?

Thanks!!
Keith
---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to