On Oct 22, 2013, at 15:21, jai bharat wrote:

> I have this sample virtual host config file on apache, & the webserver config 
> file.
>  
> I am confused how can i have equivalent config if i decide to use Node.js for 
> web server?

Node is not a web server. It is a programming language (JavaScript) and runtime 
environment with which you can write programs. Node is great for writing 
network programs, such as web servers. But it is not itself a web server out of 
the box.

There are npm modules that are basically web servers written using Node. 
Express might be a good place to start. So then your question becomes: how do I 
replicate my Apache config in Express? And if you're not sure how to do that 
after reading the Express documentation, there's a separate mailing list for 
Express where you could ask questions. And if Express doesn't meet your needs, 
there are many other options.


http://expressjs.com/

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to