Showing posts with label cgi tomcat. Show all posts
Showing posts with label cgi tomcat. Show all posts

Thursday, September 6, 2012

CGI on tomcat

Agar bisa run file.exe di tomcat
1. Rename the file servlets-cgi.renametojar (found in CATALINA_HOME/server/lib/) to servlets-cgi.jar, so that the servlet that processes CGI scripts will be on Tomcat's CLASSPATH.

2. In Tomcat's CATALINA_BASE/conf/web.xml file, uncomment / buka remarknya
(this is around line 241 & 299 in the distribution).

seting executable utk program yg jalankan scriptnya.

File exe bisa dibuat sederhana dg output:
Content-type: text/html
dst dst dst....


3.restart
---------selesai