Php .htaccess问题。我的网站无法注册,加载从未停止

Php .htaccess问题。我的网站无法注册,加载从未停止,php,.htaccess,Php,.htaccess,我从codecanyon购买了OKDating脚本,开发人员从不支持自己的脚本。我安装的网站和支持,以注册帐户第一次获得管理员访问和注册过程不断加载,从来没有停止。另一些人说这是因为.htaccess问题,我不知道如何解决它。 我使用AWS EC2服务器和站点名称www.chitthu.co您的ajax请求将要执行,但应该执行 要防止出现这种情况,请从URL中隐藏index.php。将下面的代码放入root.htaccess文件中 对于5.2.6以上的PHP版本: RewriteEngine O

我从codecanyon购买了OKDating脚本,开发人员从不支持自己的脚本。我安装的网站和支持,以注册帐户第一次获得管理员访问和注册过程不断加载,从来没有停止。另一些人说这是因为.htaccess问题,我不知道如何解决它。
我使用AWS EC2服务器和站点名称www.chitthu.co

您的ajax请求将要执行,但应该执行

要防止出现这种情况,请从URL中隐藏index.php。将下面的代码放入root.htaccess文件中

对于5.2.6以上的PHP版本:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
对于低于5.2.6的PHP版本:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
必须使用PHP启用mod_重写


用你的问题添加你的代码。我使用.htacess,然后在AWS的EC2上启用mod_重写,这是get Internal Server错误,我的网站已关闭。。。我该怎么办?