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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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:
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 visitinghttp://yourApacheServer.com/tiddlywiki5/