Nethttpd_plex and authenticated realm

Matías Giovannini <[email protected]> Mon, 18 Jul 2011 03:01:20 -0300
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <CALzEXo9Jd-CxhUOmCOUrMaho-ZCv7khm1dtVh53XdjwJMqRtmQ@mail.gmail.com>
Hello,

is there any way to set up the moral equivalent of an Apache realm for use
with Nethttpd's file handler? I'd like to protect my basic HTML console with
a challenge. Currently my configuration has the section:

        uri {
          path = "/";
          service {
            type = "file";
            docroot = "/.../html";
            media_types_file = "/etc/mime.types";
            default_media_type = "text/html";
            index_files = "index.html";
            enable_listings = false;
            enable_gzip = true;
          };
        };

which is what I would like to "hide" under at least basic authentication.

Thank you,
Matías.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev

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