Chrome refused to load site: (net - MODX Forums
文章推薦指數: 80 %
Error 310 (net::ERR_TOO_MANY_REDIRECTS): there are too many redirects. I've installed YAMS 1.2.0 RC3 and it has something to do with it.
OnMarch26,2019welaunchednewMODXForums.PleasejoinusatthenewMODX
CommunityForums.
MODXCommunityForums
Add-ons
Manager,Parser&theCore
YAMS
ViewLatestPosts
orSearch:
Search
Chromerefusedtoloadsite:(net::ERR_TOO_MANY_REDIRECTS)
Subscribe:RSS
121Posts
SendPM
MartijnvanTurnhoutReply#1,10years,5monthsago
Hi,
I’musingMODX1.0.5Evolution,incombinationwithYAMS1.2.0RC3.I’veusedthe.htaccesswhichisgeneratedwiththisversion.ThesiteworksfineineverybrowserexceptChrome!ThebrowsertakesawhilewithloadingthehomepageandallitdoesintheendisgivemeaChromeerrorpage,whichcontainsthefollowingmessage:
Error310(net::ERR_TOO_MANY_REDIRECTS):therearetoomanyredirects
I’veinstalledYAMS1.2.0RC3andithassomethingtodowithit.I’vedisabledthepluginanditworksfinethen.Cansomeonehelpmeouthereplease?I’musingthe.htaccessthatisgeneratedwiththesettings.SettingsareincludedinaPNGfileattachedtothispost.
Thanksalotinadvance!
307Posts
SendPM
virtualbearReply#2,10years,5monthsago
hi,
hi,don’tknowwhysomeofofyourconfigvaluesbut,firstyoumaytry*inmodxurlsfieldand"default"forurlconversionmode
whaticansayisi’mcurrentlyworkingonamultilingualwebsitewiththesamebasicconfigasyours(1.0.5+yams1.2.0RC3)andchromedoesn’thaveanyproblemwithit,don’tworry,it’llwork
haveswing
réfléchiravantd'agir
121Posts
SendPM
MartijnvanTurnhoutReply#3,10years,5monthsago
I’vejustdonewhatyouaskedmetodo:Igetredirectedtothehomepagewithoutanylanguagealiasesattached(like/en/and/nl/),butthemomentIclickonanotherlinkandhewantstogototheNLorENversion,Igetthesameerroragain!
God,thisisannoying.
ChecktheattachmenttoseewhichsettingsI’musingnow.ThisonlyhappensinChromebythewayanditkeepsoutputtingthesameerrormessage:
"Dezewebpaginabevateenomleidingslus">"Thiswebpagecontainsaredirectloop".
Also,Ican’tseemtoswitchlanguagesinIEbrowsers.Sigh.
121Posts
SendPM
MartijnvanTurnhoutReply#4,10years,5monthsago
WiththehelpofMarkHamstra,Ifinallysolvedthisissuewiththefollowingsettings:
.htaccess
#Forfulldocumentationandothersuggestedoptions,pleasesee
#http://svn.modxcms.com/docs/display/MODx096/Friendly+URL+Solutions
#includingforunexpectedlogoutsinmulti-server/cloudenvironments
#andespeciallyforthefirstthreecommentedoutrules
#FriendlyURLs
RewriteEngineOn
RewriteBase/~infodm/(thiswasfirst[b]/%7Einfodm/[/b])
#FixApacheinternaldummyconnectionsfrombreaking[(site_url)]cache
RewriteCond%{HTTP_USER_AGENT}^.*internal\dummy\connection.*$[NC]
RewriteRule.*-[F,L]
#Exclude/assetsand/managerdirectoriesfromrewriterules
RewriteRule^(manager|assets)-[L]
#Redirectfrommydomain.com/rootnametomydomain.com/rootname/
RewriteRule^en$en/[R=301,L]
RewriteRule^nl$nl/[R=301,L]
#TheFriendlyURLspart
RewriteCond%{REQUEST_FILENAME}!-f
RewriteCond%{REQUEST_FILENAME}!-d
RewriteRule^en/(.*)$index.php?q=$1[L,QSA]
RewriteCond%{REQUEST_FILENAME}!-f
RewriteCond%{REQUEST_FILENAME}!-d
RewriteRule^nl/(.*)$index.php?q=$1[L,QSA]
RewriteCond%{REQUEST_FILENAME}!-f
RewriteCond%{REQUEST_FILENAME}!-d
RewriteRule^(.*)$index.php?q=$1[L,QSA]
ForotherFlagItemTpl(oneofthetplsforlanguageswitch)weused:
延伸文章資訊
- 1Chrome refused to load site: (net - MODX Forums
Error 310 (net::ERR_TOO_MANY_REDIRECTS): there are too many redirects. I've installed YAMS 1.2.0 ...
- 2修正連線錯誤- Google Chrome說明
「這個網頁包含重新導向迴圈」或「ERR_TOO_MANY_REDIRECTS」 ... 「你的連線不是私人連線」、「NET::ERR_CERT_AUTHORITY_INVALID」、「ERR_C...
- 3What is ERR_TOO_MANY_REDIRECTS and how to fix it
- 4How to Fix The ERR_TOO_MANY_REDIRECTS Error - Kinsta
- 5错误310 (net::ERR_TOO_MANY_REDIRECTS):重定向过多 ...
错误310 (net::ERR_TOO_MANY_REDIRECTS):重定向过多怎么解决. binzhe 2014-02-14 09:07:36 ...全文. 58498 1 收藏 13. 微...