Catching 404

Pierre-Alexandre Voye <[email protected]> Tue, 18 Sep 2012 17:31:17 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <CANnJ5Ge3=DAutL2JD4wRJvx7M1Jdbj1B9CEDBpyZv6r3hdQmiA@mail.gmail.com>
Hello,
 is it possible to catch a 404 with ocamlnet ?
Use case example : if the page doesn't exists then, it give a way to
create/edit the unknown page.
It seems, I would have to rewrite is_error_response according to
http://projects.camlcity.org/projects/dl/ocamlnet-3.2.1/doc/html-main/Http_fs.html#VALis_error_response
Is it the case ?

In the same way, is it possible to configure url rewriting with ocamlnet ?

Regards,

Pierre-Alexandre

-- 
---------------------
https://twitter.com/#!/ontologiae/
http://linuxfr.org/users/montaigne

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel