You can test the application from the client system.
Also, we will be using the C10 system again.
We are going to use that elinks --dump http://ip address.
of the site, it is going to display the data or you can use /index.php, you can specify the
name of the application also, or we can use by the name also.
So it is going to fetch the data and then when we are going to view the log file, it is going to give
you the useful information.
That means log files are your error log file is there.
Then we have got, your access log files are there, both log files give you very useful
information from which addres we have connected at what time we connected.
And if there is some error, it is going to show up in our error log file.
So let us go into your C10 system, from C10 system.
What we are going to do, we are going to specify it is dumping the data.
We can specify the IP address also 172.24.0.1.
Again, it will dump the data.
You can specify the name of the file also index.php sometime.
It is useful when you have not given the name index.php.
suppose you have given the file name ABC.
So by default, when we are going to run this or this, that will not get display so we can check by using
this.
Command then we will like to see the log files.
So we are going to open the tail.
/var/log/httpd/error_log file is there.
It is going to show the various errors.
In our case, no error was there, then we have got access_log with us so we can view that log,
also assess_log the file is, again all the log files regarding http are in /var/log/http
directory.
So it is showing us that we access from 10 system earlier.
We have access from the one system.
So it is going to show you the log file.
So it was our LAMP application.
We have not gone into very deep details.
We just wanted to give you the introduction of LAMP stack.
In our case, Lamp stack is working properly.
our simple application is working properly.