DA-660-8/16-LX User’s Manual
Managing Communications
4-4
To open the default CGI test script report page, type
http://192.168.3.127/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#