httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] Redirect question
Date Thu, 06 May 2010 13:49:22 GMT
> I 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

No other redirects in in place. 
We are wondering (and, yes, I probably should have mentioned this) if the 
fact that we are using mod_jk is having an effect.
Basically, this server uses mod_jk to point to 1 of 2 Tomcat5 servers for 
load balancing. I don't think it should cause a problem since the redirect 
happens before mod_jk does it's magic but maybe I am wrong in thinking 

2 VirtualHost containers we have tried:

    Redirect permanent /

    RewriteEngine   On
    RewriteCond %{HTTP_HOST} ^zemaqa$ [NC]
    RewriteRule . [R=permanent]

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message