diff options
author | steve <steve@FreeBSD.org> | 2000-05-29 11:26:33 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-05-29 11:26:33 +0800 |
commit | 99215c88c823e8f6c73abb1adae165aa47133e3a (patch) | |
tree | 3ccedddd6d3d7759821f7410c24752d8c7f14958 /www | |
parent | ba75ee94e1c51eb28d87aa09f4986c67215de148 (diff) | |
download | freebsd-ports-gnome-99215c88c823e8f6c73abb1adae165aa47133e3a.tar.gz freebsd-ports-gnome-99215c88c823e8f6c73abb1adae165aa47133e3a.tar.zst freebsd-ports-gnome-99215c88c823e8f6c73abb1adae165aa47133e3a.zip |
From the maintainer:
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
Diffstat (limited to 'www')
-rw-r--r-- | www/gnujsp/files/gnujsp.properties.in | 2 | ||||
-rw-r--r-- | www/gnujsp/pkg-message | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/www/gnujsp/files/gnujsp.properties.in b/www/gnujsp/files/gnujsp.properties.in index 514592775d8b..0a2931b0cb3c 100644 --- a/www/gnujsp/files/gnujsp.properties.in +++ b/www/gnujsp/files/gnujsp.properties.in @@ -44,4 +44,4 @@ autoreload.file=true # but I guess you may prefer the default locale :-) (alph) servlet.gnujsp.code=org.gjt.jsp.JspServlet -servlet.gnujsp.initArgs=checkclass=true,pagebase=%%PREFIX%%/www/data,scratchdir=%%PREFIX%%/www/gnujsp,debug=true,compiler=builtin-javac -classpath %classpath%:%scratchdir%:%%PREFIX%%/gnujsp10.jar:%%PREFIX%%/servlet-2.0-plus.jar -d %scratchdir% -deprecation %source% +servlet.gnujsp.initArgs=checkclass=true,pagebase=%%PREFIX%%/www/data,scratchdir=%%PREFIX%%/www/gnujsp,debug=true,compiler=builtin-javac -classpath %classpath%:%scratchdir%:%%PREFIX%%/share/java/classes/gnujsp10.jar:%%PREFIX%%/share/java/classes/servlet-2.0-plus.jar -d %scratchdir% -deprecation %source% diff --git a/www/gnujsp/pkg-message b/www/gnujsp/pkg-message index e518bc15af5b..a7d1f18587d4 100644 --- a/www/gnujsp/pkg-message +++ b/www/gnujsp/pkg-message @@ -3,22 +3,24 @@ 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 your apache.conf: +then add the following to %%PREFIX%%/etc/apache/jserv/jserv.conf +before the "</IfModule>" line: ApJServAction .jsp /gnujsp/gnujsp ApJServMount /gnujsp /gnujsp -and add the zone gnujsp to your jserv configuration: - zones=gnujsp - gnujsp.properties=%%PREFIX%%/etc/apache/gnujsp.properties - 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 +%%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. |