Interesting ... I just installed J on a machine, which never had J or JHP and it works instantly, in fact IIS is the easiest to configure. Here's the recap of the steps:
- install J, latest base library from JAL - install JHP from Package Manager - in IIS: Default Web Site/New Virtual Directory - alias: jhp, path: c:\j601\addons\web\jhp\examples - test: navigate to http://localhost/jhp/index.html shows menu--close the browser - for jhp under IIS: Configuration/Mappings - add: Exe: c:\j601\jconsole.exe web/jhp/run %s %s Ext: .jhp That's it. Test same URL, but now use the menu. To test simple CGI - for jhp under IIS: Configuration/Mappings - add: Exe: c:\j601\jconsole.exe %s %s Ext: .ijs In folder c:\j601\addons\web\jhp\examples create file test.ijs echo 'Content-Type: text/plain',CRLF,CRLF,'test2',CRLF exit '' Test: http://localhost/jhp/test.ijs BTW, in jhp/examples there is a similar JHP test: http://localhost/jhp/test.jhp Try a couple of more things: under IIS/jhp/Directory Security, Edit check Anonymous, uncheck Integrate Send the latest IIS logs. --- JC Coez <[EMAIL PROTECTED]> wrote: > I get a CGI Time out after a while... > > > ----- Original Message ----- > From: "JC Coez" <[EMAIL PROTECTED]> > To: "Programming forum" <[email protected]> > Sent: Wednesday, April 25, 2007 8:19 PM > Subject: Re: [Jprogramming] JHP under Windows XP > > > > > > > >> > >>> Try a simple J CGI: > >>> > > >>> > NB. ========================================= test.ijs === > >>> > echo 'Content-Type: text/plain',CRLF,CRLF,'test2',CRLF > >>> > exit '' > >>> > NB. ====================================================== > >>> > > >>> > With a map for ijs: > >>> > c:\j601\jconsole.exe %s %s > >>> > >>> Do I have to modify the Application Extension Mapping and how do I > >>> start > >>> that test.ijs ? > >> > >> Yes, create another mapping similar to ".jhp" but for ".ijs". > >> Place test.ijs into jhp/examples folder and navigate: > >> > >> http://localhost/jhp/test.ijs > >> > >> It should return plain text string "test2". > >> > >> > > > > Yes, that works, not yet for *.jhp > > > > JC __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
