Re: [us...@httpd] mod_rewrite: moved directory

2009-03-18 Thread Florent Georges
Eric Covener wrote: > If this is in .htaccess or , the RewriteBase is stripped > from the URL before your rule compares to it -- it cannot start with > a slash. Oops, I didn't mention that the rule was in an .htaccess, sorry. Good guess! Stripping the leading slash resolved the problem. Th

Re: [us...@httpd] mod_rewrite: moved directory

2009-03-18 Thread Eric Covener
On Wed, Mar 18, 2009 at 8:04 AM, Florent Georges wrote: > >  Hi, > >  I moved one directory one level up in the hierarchy of web pages, > let's say: > >    from: http://www.example.com/parent/child/ >    to:   http://www.example.com/child/ > >  I try to use mod_rewrite to handle this move, and red

Re: [us...@httpd] mod_rewrite: moved directory

2009-03-18 Thread Brian Mearns
On Wed, Mar 18, 2009 at 8:04 AM, Florent Georges wrote: > >  Hi, > >  I moved one directory one level up in the hierarchy of web pages, > let's say: > >    from: http://www.example.com/parent/child/ >    to:   http://www.example.com/child/ > >  I try to use mod_rewrite to handle this move, and red

[us...@httpd] mod_rewrite: moved directory

2009-03-18 Thread Florent Georges
Hi, I moved one directory one level up in the hierarchy of web pages, let's say: from: http://www.example.com/parent/child/ to: http://www.example.com/child/ I try to use mod_rewrite to handle this move, and redirect users for a while to the new location. I've read the URL Rewr