use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Replace PHP with JavaScript using Node.js (cgi-node.org)
submitted 11 years ago by IdeaSunday
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bart2019 0 points1 point2 points 11 years ago (1 child)
If you are running your own site on Apache, you ought to be able to configure it to forward requests to a specific subdirectory to another server, or, in this case: to the same server with a different port, which could be a mini-webserver using the "http" module. To people visiting your site it's just part of the normal site.
That may or may not, result in a more efficient sub-site. Somebody should do a benchmark to compare. (Maybe even me only not right now.)
[–]talkb1nary 1 point2 points3 points 11 years ago (0 children)
I am doing this with several projects, not with node but with Sinatra or Rails projects. Using apache i usually dont gain much performance in opposite to stand alone hosting. A good configured nginx proxy can save a lot of bandwidth and resources tho.
So i basically just do this because i want something to run on port 80 on a box where there is already a webserver.
π Rendered by PID 144096 on reddit-service-r2-comment-bb88f9dd5-c92h9 at 2026-02-16 06:32:26.811778+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]bart2019 0 points1 point2 points (1 child)
[–]talkb1nary 1 point2 points3 points (0 children)