httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Day" <c...@atpco.com>
Subject Re: [users@httpd] help with URL redirection
Date Wed, 04 Sep 2002 13:51:32 GMT
Ok.. I did this, but now the rule is triggering for any URL in the
calendar.online-leagues.com domain.  So then the rule gets executed, and it
begins looping .. keeps redirecting to itself, which retriggers the rule,
etc.. I only want it to trigger if the page requested is 404.

---
Quote:

Enable the RewriteLog so you can see what is (and what is not) matching.

Comment the RewriteEngine off.


--
Rodrigo Albani de Campos
http://geekbunker.org/rodrigo/?sig

Eat Healthy
Stay Fit
Die Anyway

----- Original Message -----
From: "Chad Day" <cday@atpco.com>
To: <users@httpd.apache.org>
Cc: <rodrigo@geekbunker.org>
Sent: Tuesday, September 03, 2002 4:30 PM
Subject: Re: [users@httpd] help with URL redirection


> No luck.. here's what I have in my vhost config:
>
> RewriteEngine on
> RewriteCond %{REQUEST_URI} ^/([^/]+)/?$
> RewriteCond /usr/local/www/sites/online-leagues.com/htdocs/calendar/%1 !-d
> [NC]
> RewriteRule /.* http://calendar.online-leagues.com/view.php?ID=%1 [R,L]
> RewriteEngine Off


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message