head	1.5;
access;
symbols;
locks
	nobody:1.5; strict;
comment	@# @;


1.5
date	99.04.16.23.04.37;	author nobody;	state Exp;
branches;
next	1.4;

1.4
date	99.04.06.22.24.01;	author nobody;	state Exp;
branches;
next	1.3;

1.3
date	99.04.06.22.18.25;	author nobody;	state Exp;
branches;
next	1.2;

1.2
date	99.04.06.22.17.15;	author nobody;	state Exp;
branches;
next	1.1;

1.1
date	99.04.06.22.16.09;	author nobody;	state Exp;
branches;
next	;


desc
@null
@


1.5
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 95
IDependOn-Set: 96
IDependOn-Set: 99
IDependOn-Set: trash
LastModifiedSecs: 923437441
Parent: trash
SequenceNumber: 2
Title: Step by Step: DSO Installation of Apache JServ, RH 5.2 and Apache 1.3.3 
Part: 0
Author-Set: edmund@@wildworld.net
LastModifiedSecs: 923437080
Type: 
Lines: 89
These steps worked for me in setting up Apache JServ 1.0b3 with RedHat 5.2, Apache 1.3.3 with Sun's JSDK 2.0 for UNIX and BlackDown's JDK 117
========================================================================
I untarred all the files and I put them in /usr/Apache-JServ-10b3,
/usr/local/JSDK2.0 and /usr/local/jdk117_v1a.

In /etc/profile, I changed the PATH statement to be like the following one and added the JAVA_HOME & JSDK_HOME environment variables.  Don't forget to add the new environment variables to the export statement a few lines down from where you added them.
---------------------
PATH="$PATH:/usr/X11R6/bin:/usr/local/jdk117_v1a/bin:/usr/local/JSDK2.0/bin"

JAVA_HOME="/usr/local/jdk117_v1a"
JSDK_HOME="/usr/local/JSDK2.0"
CLASSPATH="$JAVA_HOME/lib/classes.zip:$JSDK_HOME/lib/jsdk.jar"
---------------------

I wanted to configure Apache JServ so it could be loaded dynamically (DSO).  In the /usr/local/Apache-JServ-10b3 directory I typed the following lines:
---------------------
./configure --with-apache-install=/usr \
            --prefix=/usr --enable-apache-conf
---------------------

                    **********     Note     ************
I personally have installed the Apache source RPM, so that is in my /usr
directory tree.  I don't think it is actually needed though I could be wrong.
                    ************************************

At any rate, if you get no error messages, and all seems to go well with the configuration,  then do:
---------------------
make
---------------------

If all goes well with no error message, do:
---------------------
make install
---------------------

I then copied the /usr/local/Apache-JServ-10b3/src/c/mod_jserv.so file to /etc/httpd/modules.

In my /etc/httpd/conf/httpd.conf file, I added the line below in the LoadModule statements:
-------------------------------------------------------------
LoadModule jserv_module       /etc/httpd/modules/mod_jserv.so
-------------------------------------------------------------

And below that in the AddModules statements:
---------------------
AddModule mod_jserv.c
---------------------

After all my LoadModule and AddModule statements, I added the line:
---------------------
Include /usr/local/Apache-JServ-10b3/example/jserv.conf
---------------------

In the /usr/local/Apache-JServ-10b3/example/jserv.conf file I then commented out the LoadModule line near the top.  

I also made a change to the jserv redirect statement.  Below is where I made the change so that I could use www.mydomain.com/jserv/ from any machine on my network instead of just on my localhost system.:
----------------------
<Location /jserv/>
SetHandler jserv-status

order deny,allow
deny from all
allow from localhost 127.0.0.1 <Right here I added my domain ip address>

</Location>
-----------------------

In the /usr/local/Apache-JServ-10b3/example/jserv.properties file, uncomment, in other words, remove the # in the line under the Security Parameters section that has:
---------------------
#security.selfservlet=true
---------------------

Restart Apache with:
---------------------
/etc/rc.d/init.d/httpd restart
---------------------
You might want to make sure that Apache restarted.

You should be able to do:
www.yourdomain.com/jserv/ 
          and
www.yourdomain.com/example/Hello 

and all should work !

Hope this helps!

C'ya,
Edmund
edmund@@wildworld.net
EndPart: 0
@


1.4
log
@null
@
text
@d4 1
@


1.3
log
@null
@
text
@a1 3
IDependOn-Set: 13
IDependOn-Set: 15
IDependOn-Set: 2
d4 3
a6 2
LastModifiedSecs: 923437104
Parent: 15
d11 2
a12 1
DateOfPart: 1999-Apr-06  3:18pm
@


1.2
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 923437035
d9 1
a9 1
SequenceNumber: 1
d11 94
@


1.1
log
@null
@
text
@d5 1
d7 1
a7 1
LastModifiedSecs: 923436969
d9 2
a10 2
SequenceNumber: 0
Title: New Item
@
