TOO_MANY_REDIRECTS

dryabov
13 years, 2 months ago
Then it seems there is no solution (unlikely you have shell access to make subdomain to be symlink to maindomain directory, and there is no other way).
madwarp
13 years, 2 months ago
Hi, i'm having the same problem, but the path for domain and mobile.domain are the same.

Here's the full path and address:

main: public_html/madwarp.com
mobile: public_html/madwarp.com

site: www.madwarp.com
mobile site: mobile..madwarp.com

The main domain is redirected from madwarp.com.
dryabov
13 years, 2 months ago
madwarp, what redirects do you have in htaccess?
madwarp
13 years, 2 months ago
this one

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.madwarp.com$ [NC]
RewriteRule ^(.*)$ www.madwarp.com/$1 [L,R=301]
dryabov
13 years, 2 months ago
Replace
RewriteCond %{HTTP_HOST} !^www.madwarp.com$ [NC]

by
RewriteCond %{HTTP_HOST} ^madwarp.com$ [NC]
madwarp
13 years, 2 months ago
thanks for the quick reply!
now it works!
thejamjr
13 years, 1 month ago
I am having a similar issue, I have used the following directive:

RewriteCond %{HTTP_HOST} ^matco\.net$ [NC]
RewriteRule ^(.*)$ www.matco.net/$1 [L,R=301]

I have MJ setup to NOT use multisite support, so it is not redirecting anywhere.

When I access the site using my iPhone4 over my LAN, the site renders beautifully, but as soon as I switch to 3G, Safari throws the error too many redirects.  

Now when I surf to it over my LAN, it renders the desktop site and I can't get it to load the mobile site...any help would be appreciated.
dryabov
13 years ago
thejamjr wrote:
When I access the site using my iPhone4 over my LAN, the site renders beautifully, but as soon as I switch to 3G, Safari throws the error too many redirects.

It means hat your mobile ISP change page content and/or http headers (O2 is most know to do this, but others may do it too).

thejamjr wrote:
Now when I surf to it over my LAN, it renders the desktop site and I can't get it to load the mobile site...any help would be appreciated.

MJ saves current "mode" in cookies, so most likely you tries to switch to full version by typing site URL instead of using SelectMarkup module. Also you can clear cookies to redetect your device.
thejamjr
13 years ago
Solved the problem, I had an .htaccess file in my cgi-bin that was blocking access, removed that and it works beautifully...thanks for the help!
2

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.