alextexter And I can't imagine that any computer of the network could access to the filesystem of the linux just by typing the path into the webbrowser.
But this is so, because this is the basic fundamental function of a web server. But for one thing, this is read-only access. For another, you can't access just any file of your filesystem, but only those that are within a directory that is configured as a root directory of the web server (there can be several root directories). And third, the web server is typically prohibited from serving some files within the root directory. This is specified, for example, via .htaccess
files.
Even if no file is specified in the URL, a default file is still delivered. This is for example index.html
. In a web application, where the delivering page is calculated first, there is PHP code or similar in this file. All other files are accessed via the PHP code. In DokuWiki this file is called doku.php
. This means that every time a DokuWiki page is called, (so to speak) "only" doku.php
is executed. Even though this may not necessarily be apparent from the URL.
HTH - Michael Sy.