You can subscribe to this list here.
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2022 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Simon H. <sim...@gm...> - 2022-01-17 18:01:36
|
Hello T.F. I have been able to debug the codes and fix the issue. Please find enclosed the modified codes. It's in the "add_quotes" function, which was changed w/o reason, incorrectly. I also tightened the codes by fixing the references to variable ooRexx in the codes the were redundant and inconsistent. Hope this helps. I am still working on my site, for another reason, which I don't believe is attributed to the rspcomp.rex or other issues, but my own setup. Thank you for your suggestions! Cheers, -Simon in Nashville, Tennessee On Mon, Jan 17, 2022 at 11:08 AM tango foxtrot via Modrexx-discussion < mod...@li...> wrote: > Trying again, in plain text... > > Hi Simon, > > The simplest thing is to cut the say statements out of the program, > paste them into an ordinary rexx file and run to examine the output. > Another simplification is to use double quotes around the rexx/rsp > statements, and single quotes for the cases where you want quotes in the > output result... > > say '<!DOCTYPE html>' > say '<html><head>' > say '<script type="text/javascript">' > say ' var _gaq = _gaq || [];' > say " _gaq.push([''_setAccount', 'UA-XXX63747-0']);" > say " _gaq.push([''_trackPageview']);" > say '' > say ' (function() {' > say " var ga = document.createElement(''script'); ga.type = > 'text/javascript'; ga.async" > say ' = true;' > say " ga.src = (''https:' == document.location.protocol ? 'https://ssl' > : 'http://www')" say " + ''.google-analytics.com/ga.js';" say " var s = > document.getElementsByTagName(''script')[0]; > s.parentNode.insertBefore(ga, s);" > say ' })();' > say '</script>' > > then there's no need for the doubled single quotes. Not sure why the > rsp compiler accepted the original quote configuration, but try this. > > On 2022-01-16 16:15, Simon Husin via Modrexx-discussion wrote: > > Hello All, > > > > I was able to spend some time looking at the new rspcomp.rex, and > > learned about setting errmsg=1 (to get output displayed), and how to > > produce the rspcomp's output w/ syntax rexx rspcomp.rex index.rsp > > index_output.rex. > > > > It looks like the new rspcomp.rex is struggling to translate this part > > of the index.rsp codes (see line 5), which was incorrectly translated > > to the output line (in the next block, about the 10th from the bottom). > > I.e. where not all single quotes were translated. > > > > FYI, the account information included in the codes is not the real one. > > > ------------------------------------------------------------------------------------- > > > (INPUT): > > > > <!DOCTYPE html> > > <html><head> > > <script type="text/javascript"> > > var _gaq = _gaq || []; > > _gaq.push(['_setAccount', 'UA-XXX63747-0']); > > _gaq.push(['_trackPageview']); > > > > (function() { > > var ga = document.createElement('script'); ga.type = > > 'text/javascript'; ga.async = true; > > ga.src = ('https:' == document.location.protocol ? > > 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js > > <http://google-analytics.com/ga.js>'; > > var s = document.getElementsByTagName('script')[0]; > > s.parentNode.insertBefore(ga, s); > > })(); > > </script> > > > > > ------------------------------------------------------------------------------------- > > > (OUTPUT): > > > > /* Start of Rexx RSP header information */ > > /* > > > > > > RSP Compiler Information: > > Compiler version: v2.4.0 > > Compile timestamp: 16 Jan 2022 18:01:29 > > Operating System: OS > > Rexx Version: REXX-OOREXX_5.0.0(MT)_64-BIT 6.05 30 DEC 2021 > > > > > > Source RSP File Information: > > 2022-01-16 18:01:24 606533 C:\Apache24\htdocs\index.rsp > > > > > > Output Rexx Program File Information: > > Filename: C:\Apache24\htdocs\index_output.rex > > > > > > */ > > > > > > /* note: the following call is NOT optional */ > > call WWWSendHTTPHeader arg(1), "text/html" > > /* note: these calls are optional but here anyway */ > > call WWWGetArgs arg(1) > > call WWWGetCookies arg(1) > > > > > > /* End of Rexx RSP header information */ > > > > > > say '<!DOCTYPE html>' > > say '<html><head>' > > say '<script type="text/javascript">' > > say ' var _gaq = _gaq || [];' > > say ' _gaq.push([''_setAccount', 'UA-XXX63747-0']);' > > say ' _gaq.push([''_trackPageview']);' > > say '' > > say ' (function() {' > > say ' var ga = document.createElement(''script'); ga.type = > > 'text/javascript'; ga.async' > > say ' = true;' > > say ' ga.src = (''https:' == document.location.protocol ? > > 'https://ssl' : 'http://www')' > > say ' + ''.google-analytics.com/ga.js' > > <http://google-analytics.com/ga.js'>;' > > say ' var s = document.getElementsByTagName(''script')[0]; > > s.parentNode.insertBefore(ga, s);' > > say ' })();' > > say '</script>' > > > > > ------------------------------------------------------------------------------------- > > > > While I am trying to debug the new rspcomp.rex, I welcome the new and > > improved version of the rspcomp.rex codes. > > > > -Simon Husin | Nashville, Tennessee --- http://IndoNethia.com > > <http://indonethia.com/> (still on the old config, to be moved to the > > new one, hopefully soon) > > > > > > On Sat, Jan 15, 2022 at 7:14 PM Simon Husin <sim...@gm...> > wrote: > > > > Hello All, > > > > I have just installed the latest mod_rexx on a Windows 10 server, > > and the test.rex, and the rsptest1.rsp through rsptest3.rsp worked > > well. > > > > However, when I used my index.rsp, that worked for the older > > 32-bit configuration (still running on Windows XP SP3, with Open > > Object Rexx Interpreter Version3.1.2, Build date: Apr 20 2000), > > this new environment reported an error, such as > > "\\execrsp31130.rex line 1624: Unmatched "/*" or quote.". > > > > Similarly, with other rsp files that have been working on the old > > environment, the new environment reports something like this: > > "Rexx procedure filename: rspcomp.rex > > Error 37 Unexpected ",", ")", or "]".". > > > > In the log file, I found something similar: > > ________________________________________________________ > > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] > > [client 10.0.0.195:52815 <http://10.0.0.195:52815>] Error 37 run > > 4\\execrsp21940.rex line 68: Unexpected ",", ")", or "]". > > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] > > [client 10.0.0.195:52815 <http://10.0.0.195:52815>] Error 37.2: > > n expression. > > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] > > rspcomp.rex > > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] > > Error 37 Unexpected ",", ")", or "]". > > ________________________________________________________ > > > > Would you please let me know how to debug those rsp files in the > > new environment? > > I think if I can get the generated "rex" file to stay (not > > deleted), I should be able to find what the issue is and fix it. > > > > Any info on this would be much appreciated. > > > > -Simon Husin | Nashville, Tennessee --- http://IndoNethia.com > > <http://IndoNethia.com> (still on the old config, to be moved to > > the new env) > > > > > > > > _______________________________________________ > > Modrexx-discussion mailing list > > Mod...@li... > > https://lists.sourceforge.net/lists/listinfo/modrexx-discussion > > > _______________________________________________ > Modrexx-discussion mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modrexx-discussion > |
From: tango f. <tan...@gm...> - 2022-01-17 17:08:41
|
Trying again, in plain text... Hi Simon, The simplest thing is to cut the say statements out of the program, paste them into an ordinary rexx file and run to examine the output. Another simplification is to use double quotes around the rexx/rsp statements, and single quotes for the cases where you want quotes in the output result... say '<!DOCTYPE html>' say '<html><head>' say '<script type="text/javascript">' say ' var _gaq = _gaq || [];' say " _gaq.push([''_setAccount', 'UA-XXX63747-0']);" say " _gaq.push([''_trackPageview']);" say '' say ' (function() {' say " var ga = document.createElement(''script'); ga.type = 'text/javascript'; ga.async" say ' = true;' say " ga.src = (''https:' == document.location.protocol ? 'https://ssl' : 'http://www')" say " + ''.google-analytics.com/ga.js';" say " var s = document.getElementsByTagName(''script')[0]; s.parentNode.insertBefore(ga, s);" say ' })();' say '</script>' then there's no need for the doubled single quotes. Not sure why the rsp compiler accepted the original quote configuration, but try this. On 2022-01-16 16:15, Simon Husin via Modrexx-discussion wrote: > Hello All, > > I was able to spend some time looking at the new rspcomp.rex, and > learned about setting errmsg=1 (to get output displayed), and how to > produce the rspcomp's output w/ syntax rexx rspcomp.rex index.rsp > index_output.rex. > > It looks like the new rspcomp.rex is struggling to translate this part > of the index.rsp codes (see line 5), which was incorrectly translated > to the output line (in the next block, about the 10th from the bottom). > I.e. where not all single quotes were translated. > > FYI, the account information included in the codes is not the real one. > ------------------------------------------------------------------------------------- > (INPUT): > > <!DOCTYPE html> > <html><head> > <script type="text/javascript"> > var _gaq = _gaq || []; > _gaq.push(['_setAccount', 'UA-XXX63747-0']); > _gaq.push(['_trackPageview']); > > (function() { > var ga = document.createElement('script'); ga.type = > 'text/javascript'; ga.async = true; > ga.src = ('https:' == document.location.protocol ? > 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js > <http://google-analytics.com/ga.js>'; > var s = document.getElementsByTagName('script')[0]; > s.parentNode.insertBefore(ga, s); > })(); > </script> > > ------------------------------------------------------------------------------------- > (OUTPUT): > > /* Start of Rexx RSP header information */ > /* > > > RSP Compiler Information: > Compiler version: v2.4.0 > Compile timestamp: 16 Jan 2022 18:01:29 > Operating System: OS > Rexx Version: REXX-OOREXX_5.0.0(MT)_64-BIT 6.05 30 DEC 2021 > > > Source RSP File Information: > 2022-01-16 18:01:24 606533 C:\Apache24\htdocs\index.rsp > > > Output Rexx Program File Information: > Filename: C:\Apache24\htdocs\index_output.rex > > > */ > > > /* note: the following call is NOT optional */ > call WWWSendHTTPHeader arg(1), "text/html" > /* note: these calls are optional but here anyway */ > call WWWGetArgs arg(1) > call WWWGetCookies arg(1) > > > /* End of Rexx RSP header information */ > > > say '<!DOCTYPE html>' > say '<html><head>' > say '<script type="text/javascript">' > say ' var _gaq = _gaq || [];' > say ' _gaq.push([''_setAccount', 'UA-XXX63747-0']);' > say ' _gaq.push([''_trackPageview']);' > say '' > say ' (function() {' > say ' var ga = document.createElement(''script'); ga.type = > 'text/javascript'; ga.async' > say ' = true;' > say ' ga.src = (''https:' == document.location.protocol ? > 'https://ssl' : 'http://www')' > say ' + ''.google-analytics.com/ga.js' > <http://google-analytics.com/ga.js'>;' > say ' var s = document.getElementsByTagName(''script')[0]; > s.parentNode.insertBefore(ga, s);' > say ' })();' > say '</script>' > > ------------------------------------------------------------------------------------- > > While I am trying to debug the new rspcomp.rex, I welcome the new and > improved version of the rspcomp.rex codes. > > -Simon Husin | Nashville, Tennessee --- http://IndoNethia.com > <http://indonethia.com/> (still on the old config, to be moved to the > new one, hopefully soon) > > > On Sat, Jan 15, 2022 at 7:14 PM Simon Husin <sim...@gm...> wrote: > > Hello All, > > I have just installed the latest mod_rexx on a Windows 10 server, > and the test.rex, and the rsptest1.rsp through rsptest3.rsp worked > well. > > However, when I used my index.rsp, that worked for the older > 32-bit configuration (still running on Windows XP SP3, with Open > Object Rexx Interpreter Version3.1.2, Build date: Apr 20 2000), > this new environment reported an error, such as > "\\execrsp31130.rex line 1624: Unmatched "/*" or quote.". > > Similarly, with other rsp files that have been working on the old > environment, the new environment reports something like this: > "Rexx procedure filename: rspcomp.rex > Error 37 Unexpected ",", ")", or "]".". > > In the log file, I found something similar: > ________________________________________________________ > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] > [client 10.0.0.195:52815 <http://10.0.0.195:52815>] Error 37 run > 4\\execrsp21940.rex line 68: Unexpected ",", ")", or "]". > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] > [client 10.0.0.195:52815 <http://10.0.0.195:52815>] Error 37.2: > n expression. > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] > rspcomp.rex > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] > Error 37 Unexpected ",", ")", or "]". > ________________________________________________________ > > Would you please let me know how to debug those rsp files in the > new environment? > I think if I can get the generated "rex" file to stay (not > deleted), I should be able to find what the issue is and fix it. > > Any info on this would be much appreciated. > > -Simon Husin | Nashville, Tennessee --- http://IndoNethia.com > <http://IndoNethia.com> (still on the old config, to be moved to > the new env) > > > > _______________________________________________ > Modrexx-discussion mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modrexx-discussion |
From: Simon H. <sim...@gm...> - 2022-01-17 00:22:45
|
Hello All, I was able to spend some time looking at the new rspcomp.rex, and learned about setting errmsg=1 (to get output displayed), and how to produce the rspcomp's output w/ syntax rexx rspcomp.rex index.rsp index_output.rex. It looks like the new rspcomp.rex is struggling to translate this part of the index.rsp codes (see line 5), which was incorrectly translated to the output line (in the next block, about the 10th from the bottom). I.e. where not all single quotes were translated. FYI, the account information included in the codes is not the real one. ------------------------------------------------------------------------------------- (INPUT): <!DOCTYPE html> <html><head> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXX63747-0']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : ' http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> ------------------------------------------------------------------------------------- (OUTPUT): /* Start of Rexx RSP header information */ /* RSP Compiler Information: Compiler version: v2.4.0 Compile timestamp: 16 Jan 2022 18:01:29 Operating System: OS Rexx Version: REXX-OOREXX_5.0.0(MT)_64-BIT 6.05 30 DEC 2021 Source RSP File Information: 2022-01-16 18:01:24 606533 C:\Apache24\htdocs\index.rsp Output Rexx Program File Information: Filename: C:\Apache24\htdocs\index_output.rex */ /* note: the following call is NOT optional */ call WWWSendHTTPHeader arg(1), "text/html" /* note: these calls are optional but here anyway */ call WWWGetArgs arg(1) call WWWGetCookies arg(1) /* End of Rexx RSP header information */ say '<!DOCTYPE html>' say '<html><head>' say '<script type="text/javascript">' say ' var _gaq = _gaq || [];' say ' _gaq.push([''_setAccount', 'UA-XXX63747-0']);' say ' _gaq.push([''_trackPageview']);' say '' say ' (function() {' say ' var ga = document.createElement(''script'); ga.type = 'text/javascript'; ga.async' say ' = true;' say ' ga.src = (''https:' == document.location.protocol ? 'https://ssl' : 'http://www')' say ' + ''.google-analytics.com/ga.js';' say ' var s = document.getElementsByTagName(''script')[0]; s.parentNode.insertBefore(ga, s);' say ' })();' say '</script>' ------------------------------------------------------------------------------------- While I am trying to debug the new rspcomp.rex, I welcome the new and improved version of the rspcomp.rex codes. -Simon Husin | Nashville, Tennessee --- http://IndoNethia.com <http://indonethia.com/> (still on the old config, to be moved to the new one, hopefully soon) On Sat, Jan 15, 2022 at 7:14 PM Simon Husin <sim...@gm...> wrote: > Hello All, > > I have just installed the latest mod_rexx on a Windows 10 server, and the > test.rex, and the rsptest1.rsp through rsptest3.rsp worked well. > > However, when I used my index.rsp, that worked for the older 32-bit > configuration (still running on Windows XP SP3, with Open Object Rexx > Interpreter Version3.1.2, Build date: Apr 20 2000), this new environment > reported an error, such as "\\execrsp31130.rex line 1624: Unmatched "/*" > or quote.". > > Similarly, with other rsp files that have been working on the old > environment, the new environment reports something like this: "Rexx > procedure filename: rspcomp.rex > Error 37 Unexpected ",", ")", or "]".". > > In the log file, I found something similar: > ________________________________________________________ > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] [client > 10.0.0.195:52815] Error 37 run > 4\\execrsp21940.rex line 68: Unexpected ",", ")", or "]". > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] [client > 10.0.0.195:52815] Error 37.2: > n expression. > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] rspcomp.rex > [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] Error 37 > Unexpected ",", ")", or "]". > ________________________________________________________ > > Would you please let me know how to debug those rsp files in the new > environment? > I think if I can get the generated "rex" file to stay (not deleted), I > should be able to find what the issue is and fix it. > > Any info on this would be much appreciated. > > -Simon Husin | Nashville, Tennessee --- http://IndoNethia.com (still on > the old config, to be moved to the new env) > > |
From: Simon H. <sim...@gm...> - 2022-01-16 01:14:24
|
Hello All, I have just installed the latest mod_rexx on a Windows 10 server, and the test.rex, and the rsptest1.rsp through rsptest3.rsp worked well. However, when I used my index.rsp, that worked for the older 32-bit configuration (still running on Windows XP SP3, with Open Object Rexx Interpreter Version3.1.2, Build date: Apr 20 2000), this new environment reported an error, such as "\\execrsp31130.rex line 1624: Unmatched "/*" or quote.". Similarly, with other rsp files that have been working on the old environment, the new environment reports something like this: "Rexx procedure filename: rspcomp.rex Error 37 Unexpected ",", ")", or "]".". In the log file, I found something similar: ________________________________________________________ [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] [client 10.0.0.195:52815] Error 37 run 4\\execrsp21940.rex line 68: Unexpected ",", ")", or "]". [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] [client 10.0.0.195:52815] Error 37.2: n expression. [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] rspcomp.rex [Sat Jan 15 19:06:54.278417 2022] [:error] [pid 14484:tid 1292] Error 37 Unexpected ",", ")", or "]". ________________________________________________________ Would you please let me know how to debug those rsp files in the new environment? I think if I can get the generated "rex" file to stay (not deleted), I should be able to find what the issue is and fix it. Any info on this would be much appreciated. -Simon Husin | Nashville, Tennessee --- http://IndoNethia.com (still on the old config, to be moved to the new env) |
From: tango f. <tan...@gm...> - 2021-05-12 00:13:12
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <p>mod_rexx for Apache 2.4 is now available on Sourceforge.net. mod_rexx enables programmers to create dynamic web content in several ways:</p> <ul> <li>httpd handlers which enable rexx programs to process each stage of an http request</li> <ul> <li>URI->filename translation</li> <li>auth ID checking</li> <li>auth access checking</li> <li>other access checking</li> <li>MIME type determination</li> <li>fixups <br> </li> <li>sending response</li> <li>logging the request</li> </ul> <li>rsp: embed rexx programs within 'script' tags as the dynamic elements of an .html file (rexx server pages)</li> <li>cgi: create entire web pages written by rexx programs using the 'say' keyword</li> </ul> Samples for each mechanism are provided in the .zip file </body> </html> |