I am receiving the following error with the below configuration Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects. RewriteCond %{REMOTE_ADDR} ^1.1.1.1 RewriteCond %{REQUEST_URI} !^/internal RewriteRule ^(.*)$ www.site.com/internal [R=301,L] The only other redirects I have in this virtualhost are for opencms. I am not sure why I am receiving the error “TOO_MANY_REDIRECTS”
ProxyPass /opencms/ http://172.30.72.15:8080/opencms/ RedirectPermanent /opencms/ http://careers.carlsonwagonlit.com/ ProxyPass /export http:// 7.7.7.7:8080/export ProxyPassReverse /export http:// 7.7.7.78080/export ProxyPass /resources http:// 7.7.7.7:8080/resources ProxyPassReverse /resources http: 7.7.7.78080/resources ProxyPass / http:// 7.7.7.7:8080/opencms/ ProxyPassReverse / http:// 7.7.7.7:8080/opencms/
phone +01 763-212-3092 | fax +01 763-212-3200 With offices in more than 150 countries and territories, Carlson Wagonlit Travel deploys the right people, processes, technologies
and skills to consistently deliver effective travel management and bottom-line results. From: Macks, Aaron [mailto:amacks@xxxxxxxxxxxxxxxxxxx]
The way I would handle this is adding a second rewritecond to each stanza, looking at REQUEST_URI to make sure that the target path is not there, eg RewriteCond %{REMOTE_ADDR} ^1.1.1.1 RewriteCond %{REQUEST_URI} !^/internal RewriteRule ^(.*)$ www.site.com/internal [R=301,L]
|