you could try RedirectMatch /* http://www.mydomain.com/with/a/long/path/index.html
Being in a VirtualServer shouldn't matter. It works for me. I'm not sure what difference there is between RedirectMatch and RedirectPermanent though. Some erudite person might tell us ;-) BTW, I have an idea that you might need the full URL.. .including the http:// part. But then I could be wrong. That's the way I did it. Once I get something working I'm inclined not to mess around any further. David. On Tue, 4 Mar 2003, Howard Lowndes wrote: > I want to set up a permanent redirect in Apache so that: > > www.mydomain.com > > brings up: > > www.mydomain.com/with/a/long/path/index.html > > but when I do a straight redirect of / to > www.mydomain.com/with/a/long/path/index.html > > it just keeps the extension the the root URL and promptly bombs. > > What is the correct method for doing this where the base domain name and > the root of the extended domain name are the same. > > www.mydomain.com is a virtual host BTW. > > > -- > Howard. > LANNet Computing Associates - Your Linux people <http://www.lannetlinux.com> > ------------------------------------------ > Flatter government, not fatter government - Get rid of the Australian states. > ------------------------------------------ > There are 10 types of people in the world, those who understand binary, > and those who don't. > > -- > SLUG - Sydney Linux User's Group - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug > -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug