mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
7692dde007
This was sent to me by Tommy Chen : ... I checked the INSTALL.apache document and found that there was something wrong in the "servlet.gnujsp.initArgs" argument in the gnujsp.properties file. In addition , I thought the pkg/MESSAGE file needed to be updated so that we can use this port correctly. It is good stuff, so please commit it. PR: 18708 Submitted by: maintainer
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
===================================================================
|
|
|
|
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.
|
|
|
|
===================================================================
|