WWW Server
Given a URL (uniform resource locator) of the form
http:// www.hosted domain.com/ or http://www.hermes.net.au/username/, our www server delivers the content of
so-called index file, i.e. a file named:
- index.html, or
- index.htm, or
- index.php,
found in the root of 'username'. The server looks for an index file in that order. If, for instance, both, index.htm and index.php, are present, index.htm is delivered. If no index file can be
found, the server delivers the following message: "You have no right to
access this directory.". A similar rule applies to any subdirectory in
your web space. E.g. http://www.hermes.net.au/username/dom1/ makes our www
server look for an index file in the directory dom1, and deliver its
content, or the above message, if not found.
If the file to be served has a name with the .php or .inc
extension, the server interprets it as a PHP script, and delivers the
result of its interpretation rather than its content, see PHP in the
menu.
If your PHP scripts are to modify some files or directories in your web space, you need to set up their permissions correspondingly. By default, the process running the www server has no right to modify anything. To let it modify a file or directory, click Login in the menu, then Web Space > Maintenance in the top menu, and set up appropriate permissions for the file or directory.
PHP scripts may contain references to MySQL functions through which data bases can be created and manipulated. Their use requires a user/password combination that is separate from the username/password of HERMES members, see MySQL in the menu.
Apart from PHP and MySQL our server is also equipped with a few local scripts ready to be used in any html pages or php scripts, see Hit Counter, Mail Form, Shopping Cart and Keyword Search in the menu.
Submenu
|