Redirect to subdirectory

Redirect to subdirectory

am 30.06.2007 16:55:36 von pinkfloydhomer

Basic question:

If I own domain.com and I want people's browsers to go directly to
www.domain.com/whatever/blabla/ when they visit www.domain.com in
their browsers, how do I do that?

I guess that I can put an index.html in the root, but what should it
contain? Some sort of redirect to /whatever/blabla/

How?

Re: Redirect to subdirectory

am 30.06.2007 17:34:05 von Shion

pinkfloydhomer@gmail.com wrote:
> Basic question:
>
> If I own domain.com and I want people's browsers to go directly to
> www.domain.com/whatever/blabla/ when they visit www.domain.com in
> their browsers, how do I do that?

Just use a redirect rule, see on this page how to use it
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

--

//Aho