127.0.0.1

From TORI
Revision as of 06:49, 1 December 2018 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

For the apache server, 127.0.0.1 is the same as Localhost. This name denotes some directory, which is well hidden, and even administrators spend a lot of time trying to find it. Usually, directory 127.0.0.1 contains file index.html that produces the following error message:

It works!

This message indicates that the server is so occupied with itself, that it ignores any attempts of administrator to display meaningful things.

In some cases, 127.0.0.1 refers to directory /Library/Webserver/Documents

In these cases, the file index.php can be modified and other files, directories and/or simlinks can be added, making the served useful. In other cases, the 127.0.0.1 produces the only error message It works! and displays no other files stored at the local server.

The hint to find file, that produces the message It works!, can be obtained with command ps -ax.

Keywords

Apache, It works!