apache redirect URL

apache redirect URL

am 19.06.2007 09:19:00 von Alchemist

I am running apache over a web development framework (e.g. ruby on
rails or turbogears or django etc).

Now I want to support a URL format by the framework and a different
URL format by apache, so I want apache to redirect URLs from one
format to another.

Example:
URL at apache level: www.mydomain.it
URL at web app level: www.mydomain.com/it

How can I set apache to redirect (change) the URL to my web
application?

Thanks

Re: apache redirect URL

am 19.06.2007 10:55:21 von shimmyshack

On Jun 19, 8:19 am, Alchemist wrote:
> I am running apache over a web development framework (e.g. ruby on
> rails or turbogears or django etc).
>
> Now I want to support a URL format by the framework and a different
> URL format by apache, so I want apache to redirect URLs from one
> format to another.
>
> Example:
> URL at apache level:www.mydomain.it
> URL at web app level:www.mydomain.com/it
>
> How can I set apache to redirect (change) the URL to my web
> application?
>
> Thanks

you need to read up on mod proxy setup:
httpd.apache.org/docs/2.2/mod/mod_proxy.html