When connecting Apache Tomcat web-apps to an existing Apache website, mod_jk can be loaded to give a web application an Alias within Apache.
Are there any similar modules for connecting node.js to Apache?
Node isn't an application server, like Tomcat. It's a native network / web server in its own right (and which runs as its own independent process), so if you want to connect Apache to a Node application, it's easiest simply to use Apache's built-in proxy support.
In most circumstances, it's probably more efficient to have Node act as the web server on its own, as its HTTP support is complete and efficient. There are many web frameworks for it, like Express, Strata or RESTify, and also middleware libraries that handle things like efficiently serving static resources.
Found the answer here and tested it out on my own local webserver.
Just like @othiym23 said you have to use Apache's mod_proxy and mod_rewrite to make it work.
You can add a relatively simple rule to your .htaccess file like:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^tiddlywiki5.*$ http://whereNodeDotJSIsRunning:8080/ [P]
</IfModule>
And this will yield a URL like http://yourApacheServer.com/tiddlywiki5/
from which you can visit your node.js server through Apache2. The [P]
flag at the end of the rule is used to forward the request to a different server via mod_proxy and return it to the user as though they were visiting http://yourApacheServer.com/tiddlywiki5/
Plesk has an extension for Node now. It's seamless, has wide range of features and free: http://ext.plesk.com/packages/28f799af-1ff4-4bb8-9c87-a04f0f23d32e-jxcore-support