Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11

    For creating your own web server, you should try reading relevant RFCs on the HTTP protocol, such as the ones found at HTTP Specifications and Drafts.

    Don't be daunted by the highly technical nature of RFCs; just think of it as an exercise for the real world. You don't have to implement nor understand all HTTP specs. Just implement the basics-- read a file, respond with appropriate headers (i.e., 200 for OK, 404 for file not found, 403 for forbidden, set the correct Content-Type, etc...), and make sure it works if you connect to it remotely.

    For creating your own Web interface for an existing open source utility, you first need to know what kind of utility you want first. A good inspiration would be Webmin and m0n0wall.

    Bai, I've heard that you can set up a Counter-strike server in Linux. Is this true? If it is, then it would really be cool to create a Web interface for it!


    [ simon.cpu ]

  2. #12
    Quote Originally Posted by simoncpu View Post
    Bai, I've heard that you can set up a Counter-strike server in Linux. Is this true? If it is, then it would really be cool to create a Web interface for it!
    [ simon.cpu ]
    OT: Yup bai, simun.cpu counterstrike server in linux is posible, sa linux gadagan karn amng CS server.
    Back to topic: Bai how bout kanang idea ni bai simoncpu na maghimu ug webserver plus mag develop ug web using C++ in Linux environment similar to ISAPI development in Windows. probably the idea is builind a website using C++ in linux with custom HTTP server.
    This is posible since sa windows pwedi ka maka build website gamit C++ and IIS (ISAPI technology) in fact we have live website/actual project ani before sa akng 4mer company, THis can be done in Linux also.

    Na sugdan na nako kaw lang twas.. hehehe
    For more info about this idea pm lang ko..

  3. #13
    Yepp... in Unix/Linux, you can do this by making a CGI or FastCGI. Basically, you just write a program that gets input from the Web server, process it, and prints it back again. Data from HTTP GET can be read from the environment variable QUERY_STRING, while data from HTTP POST can be read from standard input (stdin).

    Output must be in a correct format: HTTP headers, followed by a blank newline (\n), then data. It's very simple, really. The real challenge is on handling concurrency, especially with sustained data loads. I think you'll get pogi points from your teacher if you demonstrate how you handled file locking and threading problems... =)

    [ simon.cpu ]
    Last edited by simoncpu; 07-19-2008 at 12:20 PM. Reason: typo

  4. #14
    Haha.maka nosebleed man sad mo pero interesado jud ko makat.on ana kay gusto kog linux. Anyway, unsa nindot nga distro sa linux if mag make ko ug webserver? Ubuntu raman gud to akong nahibaw.an ug gamay nga slackware.

    @cebugdev, bro, wa kaau ko ka kuha sa imong g-pasabot. Noob pajud tawn ko.

  5. #15
    Quote Originally Posted by poymode View Post
    Haha.maka nosebleed man sad mo pero interesado jud ko makat.on ana kay gusto kog linux. Anyway, unsa nindot nga distro sa linux if mag make ko ug webserver? Ubuntu raman gud to akong nahibaw.an ug gamay nga slackware.
    @cebugdev, bro, wa kaau ko ka kuha sa imong g-pasabot. Noob pajud tawn ko.
    linux is linux, if you plan to create software in linux environment dli mo matter kng unsa pa imng distro gamiton there using same compiler GCC and same kernel, therefore binaries will be the same. Pilia lang kng asa ka comfortable. (You can also use VMware with Linux on it .. hehehe).

  6. #16
    Quote Originally Posted by cebugdev View Post
    linux is linux, if you plan to create software in linux environment dli mo matter kng unsa pa imng distro gamiton there using same compiler GCC and same kernel, therefore binaries will be the same. Pilia lang kng asa ka comfortable. (You can also use VMware with Linux on it .. hehehe).
    What exaclty is VMware?

  7. #17
    an OS virtualization software. . . google it up for more info. . .

  8. #18
    Ahhh, hehe, Nag set nami sa akong partner nga mag webserver mi. Hehe, Tnx a bunch

  9.    Advertisement

Page 2 of 2 FirstFirst 12

Similar Threads

 
  1. Help! need ideas for thesis proposal...
    By silveroni in forum Programming
    Replies: 11
    Last Post: 05-15-2013, 05:30 PM
  2. Replies: 1
    Last Post: 11-20-2012, 10:11 PM
  3. System Proposal For Thesis.
    By AxisVirus in forum Campus Talk
    Replies: 1
    Last Post: 01-07-2011, 07:46 AM
  4. Looking For: someone to polish my thesis (proposal)
    By jennilexshop in forum Jobs
    Replies: 7
    Last Post: 10-06-2009, 06:17 PM
  5. Looking For: help me out in polishing my thesis (proposal)
    By jennilexshop in forum Specialty Services
    Replies: 0
    Last Post: 10-03-2009, 10:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top