Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Apache and Java cgi
- To: tlug@example.com
- Subject: Apache and Java cgi
- From: Craig Oda <craig@example.com>
- Date: Sat, 14 Dec 1996 21:55:09 +0900
- Reply-To: tlug@example.com
- Sender: owner-tlug
I'm running Apache 1.1.0 on Linux kernel 2.0.27 with Java binary support compiled into the kernel. I can run perl and shell cgi-bin scripts in /usr/local/etc/httpd/cgi-bin from Netscape. If I go to the shell and execute a Java script, it will run: cow:/usr/local/etc/httpd/cgi-bin# ./newtest.class Content-type: text/plain cow:/usr/local/etc/httpd/cgi-bin# -rwxrwxr-x 1 root root 497 Dec 14 19:45 newtest.class* Script is very simple: cow:/usr/local/etc/httpd/cgi-bin# cat newtest.java import java.util.*; import java.io.*; class newtest { public static void main( String args[] ) { System.out.println("Content-type: text/plain"); System.out.println(""); } } When I try to call up the cgi-bin I get this error: Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. ----------- In my access.conf file I have: Options Indexes FollowSymLinks ExecCGI Are there any special procedures or settings that must be taken care of in order to use Java applications as cgi-bin programs? Regards, Craig ----------------------------------------------------------------- a word from the sponsor will appear below ----------------------------------------------------------------- The TLUG mailing list is proudly sponsored by TWICS - Japan's First Public-Access Internet System. Now offering 20,000 yen/year flat rate Internet access with no time charges. Full line of corporate Internet and intranet products are available. info@example.com Tel: 03-3351-5977 Fax: 03-3353-6096
- Follow-Ups:
- Re: Apache and Java cgi
- From: Paul Gampe <paulg@example.com>
Home | Main Index | Thread Index
- Prev by Date: Applixware
- Next by Date: Re: Apache and Java cgi
- Prev by thread: Re: Applixware
- Next by thread: Re: Apache and Java cgi
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links