Different urls different services - how?

Different urls different services - how?

am 15.08.2007 22:19:20 von pawelstawicki

Hello,

I am a noob in apache configuration. Probably it is something simple, but...

I have a remote server. Ip, lets say, 111.11.11.11. It is public ip. At
home, if I enter "http://111.11.11.11/phpmyadmin" in my browser, I get
to phpmyadmin. "http://111.11.11.11" gets me to default apache page. I
have also a ruby application deployed at port 3000, so if I enter
"http://111.11.11.11:3000" I get to this application.

Now I want to do something to get to the application by entering URL
like "http://111.11.11.11/application". I want such URL to get me
actually to "http://111.11.11.11:3000".

Ruby uses URL path for passing information, so I also need something
like "http://111.11.11.11/application/some/information" to go to
"http://111.11.11.11:3000/some/information"

While doing all this, I want everything else than
"http://111.11.11.11/application/*" to work like it is working today. I
want to get to phpmyadmin by "http://111.11.11.11/phpmyadmin".

I read about mod_proxy and mod_rewrite but I am not able to make it working.

My serwer is debian, apache 2.

Thanks in advance
Pawel Stawicki

Re: Different urls different services - how?

am 16.08.2007 08:38:51 von unknown

Post removed (X-No-Archive: yes)