----- Original Message -----
From: John.C.Kennedy@xxxxxxxxxxxxx Date: Wed, 5 May 2010 17:52:39 -0400 Subject: Re: Redirect question To: users@xxxxxxxxxxxxxxxx <VirtualHost 1.2.3.4:80> ServerName server ServerAlias application RewriteEngine On RewriteCond %{HTTP_HOST} ^application$ [NC] RewriteRule . http://server/application [R=permanent].... </VirtualHost>-- Justin PasherI get the same looping result. (I shortened application to app because I am too lazy to type all that!): The requested URL /appappappappappappappappappappappappappappappappappappappappapp was not found on this server.
Did you remove any other Redirect rules in your VirtualHost container? I don't see how the above config could possibly cause a redirect like you are seeing, because once the redirect is made, the browser is no longer requesting http://application/ (it's requesting http://server/application). This rewrite only applies when the host name is "application".
-- Justin Pasher --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx