aboutsummaryrefslogtreecommitdiffstats
path: root/www/gnujsp/pkg-message
blob: a7d1f18587d4e7d7bd24b841fcdd2becb692e556 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
===================================================================

GNUJSP has been installed in %%PREFIX%%/share/java/classes.

To get started, first set up apache with jserv to function properly,
then add the following to %%PREFIX%%/etc/apache/jserv/jserv.conf
before the "</IfModule>" line:

  ApJServAction .jsp /gnujsp/gnujsp
  ApJServMount /gnujsp /gnujsp

Then copy the gnujsp.properties to your apache config dir:
cp %%PREFIX%%/share/doc/gnujsp/gnujsp.properties \
   %%PREFIX%%/etc/apache

and add the zone gnujsp to %%PREFIX%%/etc/apache/jserv/jserv.properties:
  zones=gnujsp
  gnujsp.properties=%%PREFIX%%/etc/apache/gnujsp.properties

Last, create a scratch directory for gnujsp, writable by your web
server userid (usually 'nobody'). The default directory path is
%%PREFIX%%/www/gnujsp, which can be changed by modifying
%%PREFIX%%/etc/apache/gnujsp.properties

If you run into problems, read the INSTALL.apache document in
%%PREFIX%%/share/doc/gnujsp for info more info.

Some examples can be found in %%PREFIX%%/share/examples/gnujsp.

===================================================================