[En-Nut-Discussion] [En-Nut-Announce] MicroHTTP Library
    Ole Reinhardt 
    ole.reinhardt at embedded-it.de
       
    Wed Sep 12 13:15:02 CEST 2012
    
    
  
Hi Harald,
> Nut/OS 5.0 (currently in beta state) comes with a new HTTP API.
> 
> http://www.ethernut.de/en/documents/uhttplib.html
> explains its main features.
I'm currently trying out your new uhttp library.
I'm facing a little problem when accessing the webserver with just an IP
address:
http://192.168.10.38
gives me a 404 error
http://192.168.10.38/index.html
is ok.
In the old server we had a list of default files, if no one is given:
char *default_files[] = {
    "",
    "/index.html",
    "/index.htm",
    "/default.html",
    "/default.htm",
    "/index.shtml",
    "/index.xhtml",
    "/index.asp",
    "/default.asp",
    NULL
};
Is there something similar intended in the uhttp library as well?
If not I would like to add if if you don't mind. Any hint, how to do
this best? (if you just have a API extension in mind?)
Best regards,
Ole
-- 
Thermotemp GmbH, Embedded-IT
Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting
http://www.embedded-it.de
Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97
Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 
    
    
More information about the En-Nut-Discussion
mailing list