drupal 7中的干净URL测试失败 [英] The clean URL test failed in drupal 7

查看:186
本文介绍了drupal 7中的干净URL测试失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

干净的URL测试失败。它在我的本地计算机正常工作,当我上传到服务器我收到这个消息,我无法启用干净的网址。我该怎么办才能启用它?我也上传了htaccess。

The clean URL test failed. It was working correctly on my local computer, when I uploaded it to server I got this message and I could not enable the clean url. What should I do to enable it? I have uploaded the htaccess also.

推荐答案

服务器上需要确认一些要求。确认Apache后,允许您的本地.htaccess配置覆盖(根据Ayesh的评论),我将首先检查info.php以查看是否加载了mod_rewrite。

There are a number of requirements you'll need to confirm are met on the server. After confirming Apache is allowing your local .htaccess configuration override (as per Ayesh's comment) I'd start by checking info.php to see if mod_rewrite is loaded.

确保在完成检查后删除info.php,因为您不应该在生产服务器上进行检查。

Make sure you remove info.php when you're done checking as you should not have this on a production server.

这篇关于drupal 7中的干净URL测试失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆