Welcome, Guest
Username Password: Remember me

TOO_MANY_REDIRECTS
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: TOO_MANY_REDIRECTS

Re: TOO_MANY_REDIRECTS 13 years, 2 months ago #5402

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
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).

Re: TOO_MANY_REDIRECTS 13 years, 2 months ago #5456

  • madwarp
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
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.

Re: TOO_MANY_REDIRECTS 13 years, 2 months ago #5457

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
madwarp, what redirects do you have in htaccess?

Re: TOO_MANY_REDIRECTS 13 years, 2 months ago #5458

  • madwarp
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
this one

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

Re: TOO_MANY_REDIRECTS 13 years, 2 months ago #5459

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Replace
RewriteCond %{HTTP_HOST} !^www.madwarp.com$ [NC]

by
RewriteCond %{HTTP_HOST} ^madwarp.com$ [NC]

Re: TOO_MANY_REDIRECTS 13 years, 2 months ago #5460

  • madwarp
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
thanks for the quick reply!
now it works!

Re: TOO_MANY_REDIRECTS 13 years ago #6132

  • thejamjr
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
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.
Last Edit: 13 years ago by thejamjr. Reason: format

Re: TOO_MANY_REDIRECTS 13 years ago #6199

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
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.

Re: TOO_MANY_REDIRECTS 13 years ago #6217

  • thejamjr
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
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!
  • Page:
  • 1
  • 2
Time to create page: 0.17 seconds

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.