How to rewrite/redirect directory to port number in apache?
Hello,
I have a website example.com, serving pages on port 80. I want the url example.com/redmine to be rewritten to port 3000, where my redmine server is running, without actually changing the URL. So the user typing in example.com/redmine/test would serve up example.com:3000/test, without the user actually connecting through the port. I know this can work through CPanel, but I don't know exactly how it was implemented. I'm looked at how mod_proxy, mod_proxy_html, and mod_rewrite, but I'm still quite confused on how to get my situation working.
Last edited by jiecenzhao; 06-04-2011 at 12:25 AM.
|