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


1.7
date	99.04.16.23.04.38;	author nobody;	state Exp;
branches;
next	1.6;

1.6
date	99.04.06.22.42.05;	author nobody;	state Exp;
branches;
next	1.5;

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

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

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

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

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


desc
@null
@


1.7
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 108
IDependOn-Set: 13
IDependOn-Set: 15
IDependOn-Set: 2
IDependOn-Set: 92
IDependOn-Set: 97
LastModifiedSecs: 923438525
Parent: 15
SequenceNumber: 5
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: 923437200
Type: monospaced
Lines: 104
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 it 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 *See Note Below>

</Location>
-----------------------
                           *********   NOTE   *********
You can put a specific IP address in there if you want.  In other words, say you have a 
machine who's IP is 123.12.23.1, you can put that or you can just put 123.12.23 and all 
machines with IP's that start with that will be able to access the /jserv/ test.
                           ****************************

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.

From any machine on your network, you should be able to do:
www.yourdomain.com/jserv/
          and
www.yourdomain.com/example/Hello 

All should work !

Hope this helps!

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


1.6
log
@null
@
text
@d2 1
a13 1
DateOfPart: 1999-Apr-06  3:42pm
@


1.5
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 923438280
d9 1
a9 1
SequenceNumber: 4
d13 1
a13 1
DateOfPart: 1999-Apr-06  3:38pm
d92 2
a93 2
You can put a specific IP address in there is you want.  In other words, say you have a 
machine who's IP it 123.12.23.1, you can put that or you can just put 123.12.23 and all 
d114 1
a114 1
and all should work !
@


1.4
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 923438124
d9 1
a9 1
SequenceNumber: 3
d13 1
a13 1
DateOfPart: 1999-Apr-06  3:35pm
d16 1
a16 1
Lines: 105
d42 1
a42 1
I personally have installed the Apache source RPM, so that is in my /usr
d94 1
a94 2
machines with IP's that start with that will be able to access the /jserv/ and Hello test 
and example.
@


1.3
log
@null
@
text
@d5 1
a5 1
IDependOn-Set: 96
d7 1
a7 1
LastModifiedSecs: 923437230
d9 1
a9 1
SequenceNumber: 2
d13 2
a14 1
DateOfPart: 1999-Apr-06  3:20pm
d16 3
a18 2
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
d23 3
a25 1
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.
d34 2
a35 1
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:
d46 2
a47 1
At any rate, if you get no error messages, and all seems to go well with the configuration,  then do:
d57 2
a58 1
I then copied the /usr/local/Apache-JServ-10b3/src/c/mod_jserv.so file to /etc/httpd/modules.
d75 2
a76 1
In the /usr/local/Apache-JServ-10b3/example/jserv.conf file I then commented out the LoadModule line near the top.  
d78 3
a80 1
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.:
d87 1
a87 1
allow from localhost 127.0.0.1 <Right here I added my domain ip address>
d91 6
d98 2
a99 1
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:
d110 2
a111 2
You should be able to do:
www.yourdomain.com/jserv/ 
@


1.2
log
@null
@
text
@d7 1
a7 1
LastModifiedSecs: 923437207
d9 1
a9 1
SequenceNumber: 1
d11 95
@


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