LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-20-2004, 02:43 PM   #1
logicdisaster
Member
 
Registered: Jun 2004
Posts: 41

Rep: Reputation: 15
apache cant find applet


I wrote an applet and for some reason apache wont show it. it just gives me the little red x. iknow that the java plugin for mozilla is working because i can see applets on other pages and i know my applet works because i put it in iis and it shows up fine. so for some reason apache cant display my applet. Is there some configuration i have to use in order for apache to serve applets?
 
Old 08-21-2004, 12:19 AM   #2
binidiot
Member
 
Registered: May 2004
Location: Spain
Distribution: Debian Woody, FreeBSD 5.2.1
Posts: 106

Rep: Reputation: 15
Yes. You have to do something like this in httpd.conf :

#SSI CONFIG DATA

<IfModule mod_include.c>
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>

Uncomment mod_include in the module section. Add .shtml to DirectoryIndex line for indexing.
 
Old 08-21-2004, 04:09 AM   #3
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
I suggest you check the html of that page and the path and permissions to your applet file. IIRC including an applet is completely client side and has nothing to do with server side includes as binidiot has suggested. IIS and Apache might be treating the paths differently, eg differing direction of slashes.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot find modem lights applet in Ubuntu Hoary JDW Ubuntu 9 06-12-2005 05:33 AM
How to create a widget ?where is to find more applet my-unix-dream Linux - Newbie 3 04-30-2005 03:20 PM
Gnome Dictionary 2.8.0 toolbar applet: can't find host Kropotkin Fedora 6 04-15-2005 11:56 PM
Java applet error: "Applet Failed" nro Programming 1 08-28-2004 05:52 PM
Do I need a servlet to run applet from Apache? je_fro Linux - Networking 2 04-19-2003 07:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration