Joern Nettingsmeier wrote:
> fyi, my firefox complains when i click on the documentation->1.4 tab:
> 
> 
> "The page isn't redirecting properly
> Firefox has detected that the server is redirecting the request for this
> address in a way that will never complete.
> *   This problem can sometimes be caused by disabling or refusing to
> accept cookies."

site/.htaccess says:

AddDefaultCharset UTF-8
RedirectMatch /1_2_x  http://lenya.apache.org/docs/1_2_x
RedirectMatch /1_4  http://lenya.apache.org/docs/1_4

this is wrong. RedirectMatch is a full regex matcher, not a prefix
matcher, and the "/1_2_X" happens to match the redirect target as well.
baaaaad.

the correct way is to either use Redirect or have a proper regex.

Redirect permanent /1_2_x http://lenya.apache.org/docs/1_2_x
Redirect permanent /1_4 http://lenya.apache.org/docs/1_4

or

RedirectMatch permanent ^/1_2_x/(.*) http://lenya.apache.org/docs/1_2_x/$1
RedirectMatch permanent ^/1_4(.*) http://lenya.apache.org/docs/1_4/$1

(IIRC, i don't have an apache around for testing.)

jörn
-- 
"I don't need backups. I need restore!" - Trad.

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to