HTTP server default page

Hi all,
I'm trying to figure out the logic behind the TCPNet HTTP server in terms of locating the site's default page.

What if I try to browse the site by only specifying the host in url ( i.e. http://myboard/ )? Is it looking for an hardcoded index.html? What if this file is not present or, at least, not in the FileTab table?

As far as I can get, if index.html is not present in FileTab the first file is used instead, but I can't get it working well if this first file is a .cgi.

Am I doing any wrong assumption?

TIA

Parents
  • It is correct.

    The TCPnet HTTP server is first looking for index.html on a FlashFS drive (if an interface has been configured properly).

    If the file is not found or interface not enabled, it looks for a hardcoded index.html in FileTab.

    If not found it takes the first file from the FileTab. You should put a valid default page there.

    Franc

Reply
  • It is correct.

    The TCPnet HTTP server is first looking for index.html on a FlashFS drive (if an interface has been configured properly).

    If the file is not found or interface not enabled, it looks for a hardcoded index.html in FileTab.

    If not found it takes the first file from the FileTab. You should put a valid default page there.

    Franc

Children
More questions in this forum