dnice Posted October 20, 2008 Share Posted October 20, 2008 Hello, I have apache running in a reverse proxy with multiple vhosts sending all request to a backend weblogic host. I've added the following config to redirect https://site.domain.com to https://site.domain.com/data. I've even tried to increase and decrease the amount of Redirects with no luck. Any suggestions? RewriteEngine on RewriteOptions MaxRedirects=20 RewriteRule ^(.*) https://site.domain.com/data Link to comment https://forums.phpfreaks.com/topic/129282-mod-rewrite-redirection-causes-redirect-loop/ Share on other sites More sharing options...
corbin Posted October 20, 2008 Share Posted October 20, 2008 Well if you're rewriting anything to /data, wouldn't /data rewrite to /data ;p. Change your rewrite rule. Link to comment https://forums.phpfreaks.com/topic/129282-mod-rewrite-redirection-causes-redirect-loop/#findComment-670389 Share on other sites More sharing options...
dnice Posted October 21, 2008 Author Share Posted October 21, 2008 Corbin, omg do I feel dumb. Thanks!!!! Link to comment https://forums.phpfreaks.com/topic/129282-mod-rewrite-redirection-causes-redirect-loop/#findComment-670789 Share on other sites More sharing options...
corbin Posted October 22, 2008 Share Posted October 22, 2008 No prob, and I see it happen all the time ;p. Link to comment https://forums.phpfreaks.com/topic/129282-mod-rewrite-redirection-causes-redirect-loop/#findComment-671429 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.