Yes, it's better to get the JHP addons folder cleaned up and re-installed, and the profile to restore from J installation. There aren't any other dependensies for basic screens.
The error messages are informative so far. Also you can check the apache httpd log file, it should capture stderr. If it says 'Not Found', see the sections in Configuration doc about Troubleshooting, esp. $SCRIPT_URL vs $SCRIPT_NAME and system/main/break.ijs. See how the path to script is passed using simple bash CGI: #!/bin/sh echo "Content-Type: text/plain" echo "" env exit --- Björn Helgason <[EMAIL PROTECTED]> wrote: > I actually installed Linux/J/JAL and everything new yesterday. > > Since then I got more working than before - like I did never get CGI before > now working. > > I did not patch the profile now because I noticed that instruction missing. > > I also nticed that the CGI examles from earlier are missing in JAL - I was > looking for them. > > I have tried to put J601 and JHP in various places so something migth be > messed up as it is. > > The instructions have been loking a bit confusing to me being new to apache > but I am beginning to get the hang of it. > > I am not sure what to do next > > Should I throw everything out again and start al over one more time? > Somewhere I can look to see what is happening in JHP? > > 2007/4/7, Oleg Kobchenko <[EMAIL PROTECTED]>: > > > > These examples show the old way to run JHP, > > which required patching profile.ijs. > > > > Currently supported version is the one that > > comes with the latest JAL. Please install and > > configure as descirbed in the Help files and > > in the config folder. > > > > See http://olegykj.sourceforge.net/jhp/ for latest demo. > > > > > > --- Björn Helgason <[EMAIL PROTECTED]> wrote: > > > > > I have spent some time on geting jhp working > > > I have got cgi working and am beginning to get the ang of what goes > > where > > > but there are many loose ends > > > > > > [Sat Apr 07 11:24:56 2007] [error] [client 192.168.2.2] client denied by > > > server configuration: /cgi-bin, referer: > > > http://192.168.2.3/jhp/examples/index.html > > > > > > http://192.168.2.3/jhp/examples/index.html > > > > > > Shows up fine but when I try to try the test cases > > > Access forbidden! > > > > > > You don't have permission to access the requested object. It is either > > > read-protected or not readable by the server. > > > > > > If you think this is a server error, please contact the webmaster < > > [EMAIL PROTECTED]>. > > > > > > Error 403 192.168.2.3 > > > > > ------------------------------------------------------------------------------ > > > #!/bin/sh > > > echo "Content-type: text/plain" > > > echo "" > > > echo "Username="`whoami` > > > > > > export JPATHj601=/srv/www/j601 > > > $JPATHj601/jconsole /srv/www/htdocs/jhp/examples/ht1.jhp > > > > > > gives me > > > > > > Username=wwwrun > > > |value error: ContentType > > > | <% ContentType'text/html'[Expires 0%> > > > |[-0] /srv/www/htdocs/jhp/examples/ht1.jhp > > > > > > > > > > > > > > --------------------------------------------------------------------------------- > > > > > > http://192.168.2.3/cgi-bin/showuser2.cgi > > > > > > Username=wwwrun > > > TEST0 ======================================== > > > 3 : 0]0 > > > println '<h1>Test</h1>' > > > ) > > > > > > TEST1 ======================================== > > > 3 : 0]0 > > > print '<h1>' > > > print 'Test' > > > println '</h1>' > > > ) > > > > > > TEST2 ======================================== > > > 3 : 0]0 > > > print '<h1>' > > > print 'Test' > > > println '</h1>' > > > ) > > > > > > TEST3 ======================================== > > > 3 : 0]0 > > > print 'One ' > > > println 'Two' > > > ) > > > > > > TEST4 ======================================== > > > 3 : 0]0 > > > println 'One' > > > println 'Two' > > > println '' > > > > > > > > > ) > > > > > > -- > > > Björn Helgason, Verkfræðingur > > > Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127 > > > 801 Grímsnes ,t-póst: [EMAIL PROTECTED] > > > Skype: gosiminn, gsm: +3546985532 > > > Landslags og skrúðgarðagerð, gröfuþjónusta > > > http://groups.google.com/group/J-Programming > > > > > > > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari > > einfaldleikans > > > > > > góður kennari getur stigið á tær án þess að glansinn fari af skónum > > > /|_ .-----------------------------------. > > > ,' .\ / | Með léttri lund verður | > > > ,--' _,' | Dagurinn í dag | > > > / / | Enn betri en gærdagurinn | > > > ( -. | `-----------------------------------' > > > | ) | (\_ _/) > > > (`-. '--.) (='.'=) > > > `. )----' (")_(") > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > > > > > > > ____________________________________________________________________________________ > > Get your own web address. > > Have a HUGE year through Yahoo! Small Business. > > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > Björn Helgason, Verkfræðingur > Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127 > 801 Grímsnes ,t-póst: [EMAIL PROTECTED] > Skype: gosiminn, gsm: +3546985532 > Landslags og skrúðgarðagerð, gröfuþjónusta > http://groups.google.com/group/J-Programming > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans > > góður kennari getur stigið á tær án þess að glansinn fari af skónum > /|_ .-----------------------------------. > ,' .\ / | Með léttri lund verður | > ,--' _,' | Dagurinn í dag | > / / | Enn betri en gærdagurinn | > ( -. | `-----------------------------------' > | ) | (\_ _/) > (`-. '--.) (='.'=) > `. )----' (")_(") > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
