From owner-freebsd-questions Wed Jan 6 00:12:37 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA04996 for freebsd-questions-outgoing; Wed, 6 Jan 1999 00:12:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from eamail1.unisys.com (eamail1.unisys.com [192.61.103.80]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA04989 for ; Wed, 6 Jan 1999 00:12:35 -0800 (PST) (envelope-from Marcel.Groner@Unisys-Bern.ch) Received: from CH-BE-PC-5.mk.unisys.com (ch-be-pc-5.ch.unisys.com [129.227.15.51]) by eamail1.unisys.com (8.8.5/8.8.5) with ESMTP id IAA02044 for ; Wed, 6 Jan 1999 08:12:04 GMT Received: by ch-be-pc-5 with Internet Mail Service (5.5.2232.9) id ; Wed, 6 Jan 1999 09:14:03 +0100 Message-ID: <2A145C4B8296D211B09A00A0244B05A8013B@ch-be-pc-5> From: Groner Marcel To: "'freebsd-questions@FreeBSD.ORG'" Subject: relocatiable objects Date: Wed, 6 Jan 1999 09:14:02 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! I downloaded JRun2.2 for Unix and Winnt. I installed both on my systems (On WinNT 4.0 and Linux 2.x) and it works perfect. Now I wanted to use my servlets on our webserver. Its a virtual server running the following: Configuration: -------------- - Os: BSDI BSD/OS 3.1 Virtual Kernel #14 - Webserver: Apache 1.2.6 The problem is that its not allowed to compile apache or install a new apache webserver on our virtual server. The only possibility to include external apache modules is the following: (I got that description from our virtual server provider) How to compile: --------------- To create an Apache module, compile it normally but using the "shlicc2" compiler but link it using the "-r" flag. This will create a relocatiable object. Put the mod_xxx.so in your ~/www/modules directory. Add the "LoadModule ..." to your httpd.conf. Example: LoadModule status_module modules/mod_status.so Is there any way to use JRun with relocatiable objects an LoadModule in the httpd.conf? If yes, does anyone knows how to compile jrun a relocatiable object? Marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message