Sunday, January 24, 2010

Access log

Understand e log format:

The first thing is to understand how to read log files. Especially access log. (focus on access log for the first project). Access log is recorded in web server (every request sent).

Example : 127.0.0.1 – frank [10/Oct/2000:13:55:36 -0700] “GET /apache_pb.gif HTTP/1.0” 200 2326



I've made this diagram for reference.



# Request line from the client ( as labeled #1,#2,#3 )
1 - method used by client
2 - requested resource
3 - client's protocol

# The second last part is about status. It reveals whether the request resulted in a successful response (codes beginning in 2), a redirection (c.b.i. 3), an error caused by the client (c.b.i 4), an error in the server (c.b.i 5).

E.g : 200 - OK (request has succeeded)
201 - Created
202 - Accepted
301 - Moved permanently
302 - Found
400 - Bad Request
404 - Not Found
503 - Service Unavailable

Refer HERE

Saturday, January 23, 2010

Simple conf

Google says:
Hallo people! This is an example of very very simple configuration on ubuntu grub. “GNU GRUB (short for GNU GRand Unified Bootloader) is a boot loader from the GNU project. GRUB (shortened form of GNU GRUB) is the reference implementation of the Multiboot specification, which enables a user to have multiple operating systems on their computer, and choose which one to run when the computer starts.”




If you are a new user of ubuntu, you should know this to enable you to select the OS you want to use in convenient time, giving you enough time to decide (not sighing anymore :p right after you turn on the pc, and you left it for a moment, and you realized u missed it!)

Now, you can change the options..



Go to root :

cd /boot/grub/
ls (make sure there is menu.lst)
sudo vi menu.lst

(vi or gedit)

If you want to disable the time counter, just comment out the timeout :
# timeout 10

if you want to put the time counter, you can set the timeout in seconds
timeout 10

Tuesday, January 5, 2010

none---



@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--- i am coming ---
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@