RL-ARM User's Guide

Technical Support

On-Line Manuals

RL-ARM User's Guide

RL-RTX RL-FlashFS RL-TCPnet TCP Socket Opening TCP Connection TCP Active Open TCP Passive Open Sending TCP Data Example for Sending Data Multiple TCP Connections UDP Socket Opening UDP Connection Sending UDP Data When DHCP Enabled When ARP Cache Empty Example for Sending Data IP Multicasting Multiple UDP Connections Configuring TCPnet Static Configuration System Definitions Ethernet Network Interface PPP Network Interface SLIP Interface UDP Socket TCP Socket BSD Socket HTTP Server Telnet Server TFTP Server FTP Server DNS Client SMTP Client SNMP Agent Runtime Configuration Library Files Using RL-TCPnet Stand Alone With RTX Kernel Applications HTTP Web Server Script Language CGI Functions Ajax Support Using XML XML Example How it works SOAP Support SOAP Interface Large POST Messages Web Pages Default Page Error Pages Web on SD Card Web Update File System Interface Http Caching How it works Internal Web External Web Using RAM File System FCARM File Converter PRINT Directive NOPRINT Directive PAGEWIDTH Directive PAGELENGTH Directive ROOT Directive Telnet Server Command Line Interface Sending Reply Message Short Reply Long Reply Continuous Screen Update TFTP Server File System Interface FTP Server File System Interface Supported Commands SMTP Client SNMP Agent MIB Database MIB Interface MIB Entry MIB Table DNS Resolver Starting DNS Device Drivers Ethernet Driver Interrupt Mode Modem Driver Serial Driver Using Serial Link Cable Connection Modem Connection Windows Dial-up Add Direct Serial Link New Dial-up Connection Configure PPP Dial-up Configure SLIP Dial-up Debugging Enabling Debug Debug Level Redirecting Output Function Overview BSD Routines CGI Routines Ethernet Routines Error Function FTP Routines HTTP Routines IGMP Routines Miscellaneous Routines Modem Routines PPP Routines Serial Routines SLIP Routines SMTP Routines SNMP Routines System Functions TCP Routines Telnet Routines TFTP Routines UDP Routines RL-CAN RL-USB Example Programs Library Reference Appendix

HTTP Web Server

Hypertext Mark-up Language (HTML) is the primary language for formatting web pages. With HTML, you describe what a page must look like, what types of fonts to use, what color the text should be, where paragraph marks must come, and many more aspects of the document.

There are two types of web pages which are stored on a web server and sent to a web client on request:

  • Static Web pages do not change their content. When the page is requested, it is sent to the web client as it is. It is not modified.
  • Dynamic Web pages are generated when the page is requested. Pages that show system settings or log records are examples of dynamic pages.

RL-TCPnet supports both of them. Static web pages are generally stored in the virtual ROM file system. The files are converted into C-code by the FCARM file converter and compiled into code.

Supported Features and Technologies

The Embedded Web server has integrated several advanced features, which support the usage of many advanced web technologies:

  • Script language
    is used to generate Dynamic Web pages.
  • Ajax programming
    allows you to move the Web page processing from the Web server to the client browser.
  • SOAP interface
    allows you to produce some cutting edge user interfaces.
  • HTTP Caching
    supports the local caching at the browser and improves the Web Server performance a lot.
  • Web on SD Card
    allows you to store the complete Web site resource files on SD Card. Web files can be updated with HTTP file upload.
  • Access filtering
    allows you to filter out the hosts, which are not allowed to connect to the Web Server.
  • Multi-language Web pages
    You can use language information to generate language specific web pages with the help of the integrated script language.
  • Multi-user Web authentication
    allows you to add additional user accounts and different access rights for each user.

Note

  • To use an Embedded Web Server, you must enable and configure it in the configuration file.