.htaccess文件使页面无限期加载?

.htaccess文件使页面无限期加载?,.htaccess,.htaccess,我正在使用以下.htaccess,以便前面带有/cn/的页面使用http加载(其余页面使用https加载): <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # http requests anything other than /cn should become https RewriteCond %{HTTPS} off RewriteRule !^cn(/.*)?$ https://%{HTTP_HOST}%{R

我正在使用以下
.htaccess
,以便前面带有
/cn/
的页面使用
http
加载(其余页面使用
https
加载):

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# http requests anything other than /cn should become https
RewriteCond %{HTTPS} off
RewriteRule !^cn(/.*)?$ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,NC,L,NE]

# https requests for /cn should become http
RewriteCond %{HTTPS} on
RewriteRule ^cn(/.*)?$ http://%{HTTP_HOST}%{REQUEST_URI} [R=302,NC,L,NE]

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>

php_value upload_max_filesize    110M
php_value post_max_size          110M

重新启动发动机
重写基/
#http请求除/cn以外的任何内容都应成为https
重写条件%{HTTPS}关闭
重写规则!^cn(/.*)$https://%{HTTP\u HOST}%{REQUEST\u URI}[R=302,NC,L,NE]
#对/cn的https请求应成为http
在上重写cond%{HTTPS}
重写规则^cn(/.*)$http://%{http\u HOST}%{REQUEST\u URI}[R=302,NC,L,NE]
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}!-f
重写cond%{REQUEST_FILENAME}!-d
RewriteRule.index.php[L]
php\u值上传\u最大\u文件大小110M
php_值桩最大尺寸110M

奇怪的是页面一直在加载。这是什么原因造成的?

你是说重定向循环还是浏览器一直在等待服务器的输入?你的配置也会改变php
upload\u max\u filesize
…你是不是先用很少的带宽上传大文件?@Andy Jones我想这是一个
重播ct回路