88 • Board Support Package (BSP)
Ethernet Interface Services
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
Relevant web server directories
The root directory of the web server is in the /var/www/ directory. There you
can find the Index.html file. More subdirectories are possible and are
addressed accordingly.
Examples for addressing a Linux fieldbus coupler with the IP address
192.168.1.12 in a network :
• 192.168.1.12
Launches /var/www/Index.html
• 192.168.1.12/start.html
Launches /var/www/start.html
• 192.168.1.12/picture.gif
Shows a GIF picture /var/www/picture.gif
CGI files are in the /var/www/cgi-bin directory. They are activated by adding
the extension /cgi-bin/.
Examples for activating CGI files:
• 192.168.1.12/cgi-bin/ether
Activates CGI file /var/www /cgi-bin/ether
• 192.168.1.12/cgi-bin/restart
Activates CGI file /var/www/cgi-bin/restart
CGI files
The BOA web server can execute files in the /var/www/cgi-bin directory.
These files will output HTML code via the standard console "stdout" which
will be transmitted via the WWW by the web server. Binary files are stored
for the WAGO pages (delivery status) that write on standard output. The files
are written using the C programming language. See also the example program
in chapter 8.
Other types of CGI files such as Perl scripts can also be used, however, it is
necessary to install the appropriate interpreters / auxiliary programs. Please
read more about the web server in the BOA documentation on the Internet.