How To Send Http/1.0 404 Not Found Error Page In C

From: searcher1234 (nasdaq_at_singnet.com.sg)
Date: 10/31/04


Date: Sat, 30 Oct 2004 23:58:23 -0400

I have wrote a web server by C language.
but I don't know how to send back error page to web browser if user type
wrong web address or name that will show HTTP/1.0 404 NOT FOUND.

One more is how I can stop server socket sending rubbish code if the
requested files are sent competely.

Thanks



Relevant Pages

  • Re: How To Send Http/1.0 404 Not Found Error Page In C
    ... > I have wrote a web server by C language. ... > but I don't know how to send back error page to web browser if user type ... > One more is how I can stop server socket sending rubbish code if the ...
    (comp.lang.c)
  • Re: a relational database done in forth would r0ck
    ... Forth group implemented a smart card with an embedded web server in Forth - ... you stated they changed language and added people; you stated nothing about the similarity taken in the approach. ... Most of the strategies commonly associated with Forth programmers are part of modern software development practice. ... Those who care more about results don't care about historical timelines-- they just follow these strategies and get the same results regardless of language. ...
    (comp.lang.forth)
  • Re: IIS 5.0 Windows Authenticion/NT Challenge Response
    ... I downloaded the WFETCH tool and ran the tool and this is ... Anonymous mode. ... sufficient credentials>to auto-login to the web server, ... rejected, as it>should), and then you will see the web browser attempt to ...
    (microsoft.public.inetserver.iis.security)
  • Re: Directory Transversal
    ... The application that i'm testing has fuctionality that is like a web server in the way that I can make a connection via a web browser and it will send HTML content to the browser that shows the status of a process. ... what does the OPTIONS command tell you? ... Need to secure your web apps NOW? ...
    (Pen-Test)
  • Re: a relational database done in forth would r0ck
    ... Forth group implemented a smart card with an embedded web server in Forth - ... the web server (it was a complete rewrite - that's completely ok, ... purpose-specific software). ... another language is that people who never have seen these strategies can ...
    (comp.lang.forth)