It works!
It works! is the error message, that appears in the frame of a browser while one tries to access the URL Localhost, using the apache software at the poor configuration [2][3].
Sometimes, the sentence It works! is stored in file /Library/Webserver/Documents/index.html.en and can be substituted to something meaningful. In other cases, the content of file /Library/Webserver/Documents/index.html.en does not affect the look of sites localhost nor http://127.0.0.1 and it requires serious efforts to locate the file that produces the error message.
The path to the secret file, that generate message It works! can be cracked with the appropriate hummer or ax. In Linux and Macintosh operational system, the efficient ax seems to be
Contents
Attempts to solve the problem indicated with sentence "It works!"
In general, sentence It works! in the frame of a browser has meaning, opposite to that it could have in the common English. Sentence It works! indicates, that something is wrong with the server, and it does not work as follows. In some cases, the experienced administrators can solve the problem. The hints to do this are available [4]:
ps -ax
![](/t/images/1/16/6200E-ax.png)
Many colleagues suggest various hints about guessing the location of the apache root directory. Some of them are listed in the article apache.
The most efficient seems to be command ps -ax ; it returns the list, that can be used to guess, which apache directory is used as default.
With this ax, the secret of location of the Apache root directory can be broken (cracked, revealed).
Keywords
Apache, Localhost, 127.0.0.1, error
References
- ↑ Lena Hades, fragment from the image http://mizugadro.mydns.jp/t/index.php/File:HadesTopor.jpg
- ↑ https://discussions.apple.com/thread/2721548 pforkes. I seem to be in an unending battle with PHP. Jan 15, 2011 8:25 AM. If I open Safari and enter: +http://localhost/+ it shows me: "+It works!+"
- ↑ http://serverfault.com/questions/215984/why-does-local-host-say-it-works
- ↑ http://danilo.ariadoss.com/how-to-setup-apache-php-mysql-on-mac-os-x-105-leopard/ Danilo Stern-Sapad. How to set up Apache, PHP, & MySQL on Mac OS X 10.5 Leopard. 2013 December 16.
- ↑ http://www.thefreedictionary.com/ax ax - an edge tool with a heavy bladed head mounted across a handle
http://www.youtube.com/watch?v=9uWoH1I9FdM Сказки Сутеева : Кто сказал "Мяу"? Apr 11, 2012. (In Russian)