JHP can be installed on any system that has a web server with CGI and for which there is a J version.
J should be installed in any folder such that jconsole can be run as CGI with necessary permissions.
JHP addon is placed into J addon folder. profile.ijs needs to be modified as shown in Configuration.
For UNIX platforms, a CGI wrapper jhp.sh needs to be placed into a CGI folder. Windows does not need a wrapper.
A web directory for running JHP pages, such as JHP samples, is created as any other content directory for the web server. Directory configuration will make it work with JHP.
Web site base location is /home/groups/mysite/
with URL http://mysite.server.com/
. CGI folder is
/home/groups/mysite/cgi-bin
. Content folder is
/home/groups/mysite/htdocs
.
/home/groups/mysite/J601
/home/groups/mysite/J601/addons/jhp
/home/groups/mysite/J601/profile.ijs
/home/groups/mysite/cgi-bin/jhp.sh
/home/groups/mysite/htdocs/jhp/*.jhp
It is assumed that J is installed in /Users/user/j601 (or other version in place of 601). There is a user's personal web site http://localhost/~user/ located at /Users/user/Sites.
Copy the contents of examples folder into /Users/user/Sites/jhp.
/Users/user/J601
/Users/user/J601/addons/jhp
/Users/user/J601/profile.ijs
/Users/user/J601/jhp.sh
/Users/user/Sites/jhp/*.jhp
Web site base location is d:\j601\
with URL http://mysite.server.com/jhp
.
No CGI necessary. Content folder is d:\j601\jhp
.
d:\j601\
d:\j601\addons\jhp
d:\j601\profile.ijs
d:\j601\jhp\*.jhp