A CGI Test Page
This test makes the following calls:
HTML (index.html) ⇔ CGI (test.cgi) ⇔ Perl (test.pl) ⇔ JDBC (test.java) ⇔ Oracle (SQL)
This page includes the following files (the construction video is
here (16:05 minutes)):
http://undcemcs01.und.edu/~wen.chen.hu/demo/11/index.html
(source code) or
http://undcemcs01.und.edu/~wen.chen.hu/demo/11/index.html
(a web page)
~/public_html/cgi-bin/demo/11/test.cgi
~/public_html/cgi-bin/demo/11/test.pl
~/public_html/cgi-bin/demo/11/test.java
SQL
Do not forget:
- Change the
undcemcs01
to undcemcs02
.
- Enter the following commands when you sign in to
undcemcs02
the first time
(the complete ~/.profile
file is here):
cd
emacs .profile
source .profile
mkdir public_html
mkdir public_html/cgi-bin
chcon -R -t httpd_user_content_t /home/first.lastname/public_html
chmod 755 ../*
chmod 755 *
enter the following command whenever you sign in to undcemcs02
:
source ~/.profile
and enter the following commands after you create a script :
cd
chmod 755 */*
chmod 755 */*/*
chmod 755 */*/*/*
chmod 755 */*/*/*/*
chmod 755 */*/*/*/*/*
🍀 Good luck! 🍀