Linux下启用apache2模块

在linux下启用apache的模块没想到这么简单,只用一个命令就搞定了

太好了

在debian下安装完drupal后,想使用其简洁链接,发现apache的mod_rewrite模块没有开启,

Search

command如下

a2enmod rewrite

这样就开启了mod_rewrite 模块了,简单吧

然后/etc/init.d/apache2 restart 

OK,这样就可以使用些模块了,在drupal中可以使用简洁链接了

备查!

This entry was posted in Unix, drupal. Bookmark the permalink.

One Response to Linux下启用apache2模块

  1. 5252se says:

    不错 谢谢 以前一直在找

发表评论

您的电子邮箱不会被公开。 标记为 * 的区域必须填写

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>