Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Apache question



On Fri, 2003-01-03 at 19:48, bruno raoult wrote:
> > Set the "Index" preferences so that index.htm takes precedence over
> > index.html, then put in an index.htm containing these 5 lines:
> > 
> > <html>
> > <head>
> > <meta http-equiv="refresh" content="0; URL=http://www.raoult.com/diary/index.html";>
> > </head>
> > </html>
> 
> Yes, good idea! (and it is already done).
> The problem I see is that it is a "browser action" to perform the
> redirection: The robots (or other wget etc...) will do nothing...

Ok, I got it! (and I think now that I did something equivalent a few
years ago). I use your solution (changing the precedence of the index
file), *and* redirect this file to index.html.

My new .htaccess, is this one:
DirectoryIndex redirect.html index.html
Redirect /diary/redirect.html http://www.raoult.com/diary/index.html

Cool.

Thanks again,

br.

-- 
GPG Key: 653514E5 (http://www.raoult.com/gpg)
--
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the land of Mordor where the Shadows lie.

Attachment: signature.asc
Description: This is a digitally signed message part


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links