从昨天开始,我的网站突然瘫痪,Google 网站管理员显示 DNS 错误总数为 100%。我的应用程序http://core-ahang2mail.rhcloud.com
我不知道我该怎么办,你能帮帮我吗?
最后我重命名了 htaccess(正如@MichaelHampton 所说)并且我的问题解决了,但是现在我的重定向不起作用,所以您能帮我解决 htaccess 问题吗?
# Necessary to prevent problems when using a controller named "index" and having a root index.php
# more here: http://stackoverflow.com/q/20918746/1114320
Options -MultiViews
# turn rewriting on
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
# When using the script within a sub-folder, put this path here, like /mysubfolder/
# If your app is in the root of your web folder, then please delete this line or comment it out
# RewriteBase /php-login/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
RewriteRule ^index\.php/(.*) $1 [NS,NC,L,R=301]