>emacs cheetah.c code -g, Esc-x make ENTER help make -k : gcc -o cheetah cheetah.c -g
README >Apache,< (cheetah) 2003
GNU coding standard
./configure make sudo help to make mount linux http://ithelp.ithome.com.tw/question/10075771 RHCE linux (LSB)compile : ./cheetah
Usage: cheetah Serves in place the particular documents posted inside the given submission site using HTTP. Note how the list of files can be scanned upon international only - to help rescan the data files pertaining to additions, you will need to reactivate cheetah.-d, default-type default mime-type when report is not found in this database, foreclosures that will text/plain -b foundation method (disables system output, and allows various requests to be put on your plate simultaneously) -g crank out indices for any underlying list any time not any index.html is found headers print available many client demand headers -l, log record (in combined log format) most requests to help normal output -p, dock convey to help listen regarding demands on, non-payments to 8000 -s stick to representational back links -v verbose output -V printing model and also exit -h, assist display that meaning in addition to exit
code cheetah.c help() 74 ninety five main(), 115 159
web node ?
mkdir /web_docindex.html
Hello,Cheetah ,What a little website server! disc /cheetah-1.8 ./cheetah -d -l -v /web_dochttp://localhost:8000/
web server
log
Parsed /home/timloo/web_doc/index.html when index.html. Using system's sendfile functionality. Listening with regard to connections with dock 8000. Connected, controlling request. REQ: GET / HTTP/1.1 Checking pertaining to "index.html" Connected, managing request. REQ: GET / favicon.ico HTTP/1.1 Checking with regard to " favicon.ico " Connected, dealing with request. REQ: GET / favicon.ico HTTP/1.1 Checking for " favicon.ico "Listening., Connected, require controlling resolution ( index.html).
favicon.ico HTTP/1.1 ?
( )
linux socket
google linux multi-level socket socket() bind(),listen(),accept(),connect(),send(),recv(), udp sendto(),recvfrom()
emacs (Ctrl-x Ctrl-f) cheetah.c Ctrl-s , (ex:listen) Ctrl-s Ctrl-s
Ctrl-g, Ctrl-g 3 ESC,
: yahoo and google ( ) ( customer / host )
PHP ASP.NET SERVER PAGE ?
network
" " 3
iphone4s,
No comments:
Post a Comment