This post/thread might be of use:
http://www.jsoftware.com/pipermail/general/2007-February/029027.html


> From: david alis
> 
> I've installed Oleg's JHP on Windows using Apache and cgi-bin
> But I havent figured out how to get it working.
> 
> I have created a wrapper script:
> C:\Program Files\Apache Group\Apache\cgi-bin\jhp.cgi
> containing the single line.
> #!c:\j602\bin\jconsole -jprofile C:\j602\addons\web\jhp\run.ijs $*
> 
> When I put  "http://localhost/cgi-bin/jhp.cgi?abcd xyz" in the address
> bar
> the content of the ARGV_z_ variable that run.ijs sees is:
>     c:\j602\bin\jconsole
>     -jprofile
>     C:\j602\addons\web\jhp\run.ijs
>     $*
>     c:\PROGRA~1\APACHE~2\apache\cgi-bin\jhp.cgi
>     abcd
>     xyz
> 
> I have put .htaccess into
> C:\Program Files\Apache Group\Apache\htdocs
> It contains:
>     RewriteEngine on
>     RewriteBase   /jhp/
>     RewriteRule   .*\.jhp  /cgi-bin/jhp.cgi
> 
> When I put  "http://localhost/jhp/ht1.jhp"; in the address bar
> the file
> C:\Program Files\Apache Group\Apache\htdocs\jhp\ht1.jhp
> is displayed.
> 
> The run.ijs script refers to the environment variable: PATH_TRANSLATED.
> How would I set this in Apache/Windows
> 
> Any help appreciated.
> 
> David
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to