UC-7400-LX Plus User’s Manual
Managing Communications
4-4
To open the default CGI test script report page, type
http://host-ip-address/cgi-bin/test-cgi
in
your browser’s address box.
NOTE
The CGI function is enabled by default. If you want to disable the function, modify the file
/etc/apache/conf/httpd.conf
. When you develop your own CGI application, make sure your CGI
file is executable.
192.168.3.127 - PuTTY
root@Moxa:/usr/www/cgi-bin# ls –al
drwxr—xr-x 2 root root 0 Aug 24 1999
drwxr—xr-x 5 root root 0 Nov 5 16:16
-rwxr—xr-x 1 root root 268 Dec 19 2002
printenv
-rwxr—xr-x 1 root root 757 Aug 24 1999
test-cgi
root@Moxa:/usr/www/cgi-bin#
IPTABLES
IPTABLES is an administrative tool for setting up, maintaining, and inspecting the Linux kernel’s
IP packet filter rule tables. Several different tables are defined, with each table containing built-in
chains and user-defined chains.
Each chain is a list of rules that apply to a certain type of packet. Each rule specifies what to do
with a matching packet. A rule (such as a jump to a user-defined chain in the same table) is called a
“target.”
The UC-7400-LX Plus supports 3 types of IPTABLES table:
Filter
tables,
NAT
tables, and
Mangle
tables:
A.
Filter Table
—includes three chains:
INPUT chain
OUTPUT chain
FORWARD chain