Visvanath Ratnaweera
Posts made by Visvanath Ratnaweera
Is this the prescribed method or a workaround? From my little understanding of web security, the whole idea of making the "higher" directory inaccessible to the web server is bypassed by this symoblic link!
Hi Rick and the others
Since you all concentrate on careful documentation, see also https://moodle.org/mod/forum/discuss.php?d=470563, I thought some terms and their definitions would help to avoid the recurring discussions. Here's a try, starting from the least controversial.
- Domain: A short form for domain name. For example foo.example.com, bar.example.com and example.com itself are all domains. If one wants to avoid confusions with other uses of the term, one could say FQDN.
- Web root, aka : When the URL (see also URL) of a web resource contains only the domain, eg. https://foo.example.com, the web server delivers the default content (index.html, index.php,..) in the web root. This is sometimes called the document root or DocumentRoot, since that is what Apache calls it. Nginx calls it just root.
- (Web) Site: This has multiple meanings.
- Just the URL of a web site, e.g. https://foo.example.com.
- The landing page (homepage) of a web site (what you see when you visit its 'home' URL)
- The domain, as in 1). This is typical among the system administrators, since it is unique to each web site his machine serves, he prefers to name thing starting with the domain, e.g. the root of the web site https://foo.example.com will be /some/path/foo.example.com/.
Now, how to overcome this ambiguity? I would say, the system admin can name things the way he wants in his machine, but the documentation needs neutral terms. My suggestions are:
- Domain > as above
- Web root > as above
- Site: Avoid using it in naming directories (in the documentation), use /path/to/webroot instead. Of course you have show examples of /path/to/webroot when you introduce it.
BTW, In Unix and in many other early operating systems, collections of files were called directories. The term folder came from Microsoft in their desktop analogy (borrowed from AT&T). They are experts in using everyday terms as technical jargon and subtly influencing our thinking. The MS Word is the parade example - not to mention the excel sheets and (pointless) PowerPoints. Or nowadays people using 'app' to mean desktop applications, server applications, oil bandages or just anything that applies! Yeah, the first step in liberating ourselves from the BIG TECH should start with out thinking (immediately followed by the terms we use).