Clean URL怎么设置?

管理-》设置-》启

管理-》设置-》启动clean url就可以了。

出现以下错误提示:

出现以下错误提示:

你的主机似乎没有对Clean URL进行正确的配置。参见ModRewrite。

可能是因为你的主机

可能是因为你的主机不支持modrewrite,如果是这样的话就不能用clean url了

我的系统也有同样的问题

出现以下错误提示:

你的主机似乎没有对Clean URL进行正确的配置。参见ModRewrite。
我的系统也出现同样的提示。我用的是RedHat Enterprise Linux AS 4.
我看了它的Apache有ModRewrite模块的。并且我在httpd.conf里也打开了。
我的博客站是http://blog.luanhe.com请帮忙看一下。

1)确认你的 .htaccess

1)确认你的 .htaccess 有读写权限

2)如果你的Drupal不是安装在根目录下,可能需要更改Apache配置文件里的 RewriteBase,把指向从 var/www/ 更改到你drupal的安装目录,譬如 如果安装目录是blog,更改为 var/www/blog/

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.