Index: [Article Count Order] [Thread]

Date:  Thu, 10 Jul 2008 17:58:06 +0100
From:  Dogsbody <dan (at mark) dogsbody.org>
Subject:  [coba-e:13512] Re: Redirect to compensate for Open Webmail...
To:  coba-e (at mark) bluequartz.org
Message-Id:  <48763F9E.7040206 (at mark) dogsbody.org>
In-Reply-To:  <019601c8e2a5$c1235aa0$6400a8c0@HPPAVILION>
References:  <018001c8e29a$8298c4b0$6400a8c0 (at mark) HPPAVILION> <400925.5105.qm (at mark) web65606.mail.ac4.yahoo.com> <019601c8e2a5$c1235aa0$6400a8c0 (at mark) HPPAVILION>
X-Mail-Count: 13512



On 10/07/2008 16:58, Darrell D. Mobley was seen to type:
> Tried it, still didn't work.  Like I said, since OWM is assigning an alias
> for the directory "/data/" at the server level httpd.conf, it is taking
> precedence over the .htaccess in the site's directory. I don't think it can
> be done.

In short you can't REDIRECT a REWRITE! :-)

Have a look though the apache manual online, there is a page somewhere 
which shows the priorities of the commands as well as priorities of 
where the commands can be.

e.g. If there are two commands in different places which one gets 
followed.  From memory, I believe that if you have a REWRITE for /data 
for the entire server (httpd.conf) and a REDIRECT for /data for a site 
(.htaccess) then apache follows the REWRITE rule.

Dan