[Jprogramming] jhp access denied

Oleg Kobchenko olegykj at yahoo.com
Sun Apr 8 20:22:37 HKT 2007


Good so all the JHP demo is working?

Yes, Apache and Unix as a whole is for geeks only,
enter at your own risk. :)

A comment about placement of folders:
J installation should not be anywhere around htdocs, 
bin-cgi, or www i.e. in any way exposed to the web.

If you own the server, simply map the directory
addons/web/jhp/examples as a web directory;
otherwise if you only can configure personal
htdocs, copy examples folder to htdocs/jhp or so.

When you place jhp.sh to cgi-bin (global or local),
in it you configure how to get to J and how
to map the URL path to physical paths of example .jhp's.


--- Bj�rn Helgason <gosinn at gmail.com> wrote:

> I changed from
> ScriptAliasMatch .*\.jhp /cgi-bin/jhp.sh
> to
> ScriptAliasMatch .*\.jhp /srv/cgi-bin/jhp.sh
> 
> And now it works like a charm.
> 
> Thanks a million
> 
> I have learned a lot about apache and cgi through this exersize
> 
> I know I probably should set it up all again clean
> 
> I do that on another Linux machine first
> 
> PS: It looks kind a cute to get the results of the env in the window first
> 
> 



 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 


More information about the Programming mailing list