Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36415 > unrolled thread
| Started by | groovee@cyberdude.com |
|---|---|
| First post | 2019-04-25 09:07 -0700 |
| Last post | 2019-04-26 23:27 +0200 |
| Articles | 10 — 5 participants |
Back to article view | Back to comp.lang.javascript
How do I do serverside JS *with Apache*?? groovee@cyberdude.com - 2019-04-25 09:07 -0700
Re: How do I do serverside JS *with Apache*?? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-04-25 21:03 -0700
Re: How do I do serverside JS *with Apache*?? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-26 13:34 +0200
Re: How do I do serverside JS *with Apache*?? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-04-26 23:29 +0200
Re: How do I do serverside JS *with Apache*?? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-04-26 23:36 +0200
Re: How do I do serverside JS *with Apache*?? groovee@cyberdude.com - 2019-04-26 07:47 -0700
Re: How do I do serverside JS *with Apache*?? Jon Ribbens <jon+usenet@unequivocal.eu> - 2019-04-26 14:32 +0000
Re: How do I do serverside JS *with Apache*?? groovee@cyberdude.com - 2019-04-26 07:44 -0700
Re: How do I do serverside JS *with Apache*?? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-04-26 23:27 +0200
Re: How do I do serverside JS *with Apache*?? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-04-26 23:27 +0200
| From | groovee@cyberdude.com |
|---|---|
| Date | 2019-04-25 09:07 -0700 |
| Subject | How do I do serverside JS *with Apache*?? |
| Message-ID | <0307e651-b6f9-4c82-a058-3fb90bf3d00d@googlegroups.com> |
I have a form which I want to POST to a server-side JS script, BUT I WANT TO USE APACHE, not create a server with node.js. Is there any way to do this? Thanks.
[toc] | [next] | [standalone]
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
|---|---|
| Date | 2019-04-25 21:03 -0700 |
| Message-ID | <fdd55c8a-efab-4ca8-969c-85cea908debb@googlegroups.com> |
| In reply to | #36415 |
gro...@cyberdude.com wrote: > I have a form which I want to POST to a server-side JS script, BUT I WANT TO USE APACHE, not create a server with node.js. Is there any way to do this? Just bite the bullet and learn Node.
[toc] | [prev] | [next] | [standalone]
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
|---|---|
| Date | 2019-04-26 13:34 +0200 |
| Message-ID | <XnsAA3D8A27AE980eejj99@194.109.6.166> |
| In reply to | #36422 |
"Michael Haufe (TNO)" <tno@thenewobjective.com> wrote on 26 Apr 2019 in comp.lang.javascript: > gro...@cyberdude.com wrote: >> I have a form which I want to POST to a server-side JS script, BUT I >> WANT TO USE APACHE, not create a server with node.js. Is there any way >> to do this? > > Just bite the bullet and learn Node. People "want" all sorts of thinks, so why I apploud him not using "I need", still: why not use PHP, a JS lookalike. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2019-04-26 23:29 +0200 |
| Message-ID | <e9c70242-f0ea-a0b4-1a05-e5c2897c037c@PointedEars.de> |
| In reply to | #36431 |
Evertjan. wrote: > "Michael Haufe (TNO)" <tno@thenewobjective.com> wrote on 26 Apr 2019 in > comp.lang.javascript: Attribution line, NOT attribution novel. > […] > still: why not use PHP, a JS lookalike. Apples and oranges. PointedEars (ZCE PHP) -- Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
|---|---|
| Date | 2019-04-26 23:36 +0200 |
| Message-ID | <XnsAA3DF0155DC59eejj99@194.109.6.166> |
| In reply to | #36447 |
Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote on 26 Apr 2019 in comp.lang.javascript: > Evertjan. wrote: >> "Michael Haufe (TNO)" <tno@thenewobjective.com> wrote on 26 Apr 2019 in >> comp.lang.javascript: > > Attribution line, NOT attribution novel. > >> […] >> still: why not use PHP, a JS lookalike. > > Apples and oranges. Ha, nice, you seem to be an expert on fruits now? Indeed, they look alike and both are tasty. > PointedEars (ZCE PHP) -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
[toc] | [prev] | [next] | [standalone]
| From | groovee@cyberdude.com |
|---|---|
| Date | 2019-04-26 07:47 -0700 |
| Message-ID | <59a7e20e-4db6-45cb-a285-ea876d4b21dc@googlegroups.com> |
| In reply to | #36422 |
On Friday, 26 April 2019 09:33:20 UTC+5:30, Michael Haufe (TNO) wrote: > gro...@cyberdude.com wrote: > > I have a form which I want to POST to a server-side JS script, BUT I WANT TO USE APACHE, not create a server with node.js. Is there any way to do this? > > Just bite the bullet and learn Node. I *AM* trying to do just that, at least a little :) - I posted a separate thread about a problem I'm having with it... :)
[toc] | [prev] | [next] | [standalone]
| From | Jon Ribbens <jon+usenet@unequivocal.eu> |
|---|---|
| Date | 2019-04-26 14:32 +0000 |
| Message-ID | <slrnqc65ke.4u8.jon+usenet@sable.unequivocal.eu> |
| In reply to | #36415 |
On 2019-04-25, groovee@cyberdude.com <groovee@cyberdude.com> wrote: > I have a form which I want to POST to a server-side JS script, BUT I > WANT TO USE APACHE, not create a server with node.js. Is there any > way to do this? Yes. Make sure your node script's first line is: #!/usr/bin/env node then symlink it from your cgi directory. Make sure you have 'Options FollowSymLinks' on in the cgi directory.
[toc] | [prev] | [next] | [standalone]
| From | groovee@cyberdude.com |
|---|---|
| Date | 2019-04-26 07:44 -0700 |
| Message-ID | <679071fd-8a7d-4fb0-a88e-b68ddb5210ed@googlegroups.com> |
| In reply to | #36434 |
On Friday, 26 April 2019 20:02:53 UTC+5:30, Jon Ribbens wrote: > Yes. Make sure your node script's first line is: > > #!/usr/bin/env node > > then symlink it from your cgi directory. Make sure you have > 'Options FollowSymLinks' on in the cgi directory. Ah thanks thanks thanks!!! :) God Bless you :)
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2019-04-26 23:27 +0200 |
| Message-ID | <be7afce5-7db7-b115-b1c3-4a9ff37f65e3@PointedEars.de> |
| In reply to | #36436 |
groovee@cyberdude.com wrote: > On Friday, 26 April 2019 20:02:53 UTC+5:30, Jon Ribbens wrote: >> Yes. Make sure your node script's first line is: >> >> #!/usr/bin/env node >> >> then symlink it from your cgi directory. Make sure you have >> 'Options FollowSymLinks' on in the cgi directory. > > Ah thanks thanks thanks!!! :) God Bless you :) Although Apache still includes the feature, CGI is deprecated for many reasons, not least security. You should do the same using FastCGI instead. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2019-04-26 23:27 +0200 |
| Message-ID | <ca9f3c09-32f6-7691-1605-1ee83d1f508a@PointedEars.de> |
| In reply to | #36415 |
groovee@cyberdude.com wrote: > I have a form which I want to POST to a server-side JS script, > BUT I WANT TO USE APACHE, not create a server with node.js. > Is there any way to do this? In theory, you can have Apache execute any program, and use its output, with (Fast)CGI. A example for Node.js has been posted. I would recommend that you use FastCGI, _not_ CGI. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web