Have you sometime a question what is url, url-path, file-path, regex, mime-type and more? The answer is in this article. We describe a basic terms used to describe apache webserver directives.
Directives use a great number of different argument types. A few common ones are defined below.
URL
A complete Uniform Resource Locator including a scheme, hostname, and optional pathname as in http://www.example.com/path/to/file.html/
URL-PATH
The part of a url which follows the scheme and hostname as in /path/to/file.html
. The url-path represents a web-view of a resource, as opposed to a file-system view.
Previous versions of Linux distributions like Debian or Ubuntu, which were distributed with SysV init or Upstart, used init scripts located in the /etc/rc.d/init.d/
directory. These init scripts were typically written in Bash, and allowed the system administrator to control the state of services and daemons in their system. With systemd these init scripts have been replaced with service units.
Service units end with the .service
file extension and serve a similar purpose as init scripts. To view, start, stop, restart, enable, or disable
system services, use the systemctl
command as described in Table 2.1 - systemctl utility