[Klone-users] Error get default index page

Mickael Auger mickael.auger at gmail.com
Mon Jan 5 09:50:10 EST 2009


Hi,

I use KLone 2.1.1.

I haven't an "index.kl1" page in my "webapp/www" folder, but I have an
"index.klx" page (C++ version).
However "index.klx" isn't recognized as a default index page.

I inspected "/src/libhttp/http.c" source file and the
"http_get_default_index" function. I think that the next line
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   static const char *indexes[] = { "/index.klone", "/index.kl1"
"/index.html", "/index.htm", NULL };
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
will be replace by
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   static const char *indexes[] = { "/index.klone", "/index.kl1",
"/index.klx", "/index.html", "/index.htm", NULL };
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
to add "index.klx" as a default index page.

I tested this solution by calling "http://myipaddress/" and the KLone server
replied "http://myipaddress/index.klx" instead an error page (response
before this modification), so it's OK.

What do you think ?

-- 
Mickaël AUGER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20090105/0aadb1b7/attachment.htm


More information about the klone-users mailing list