1,870   Apache Ubuntu

1. 终端运行

> sudo a2enmod

程序提示可供激活的模块名称,输入:

> rewrite

2. 把配置文件的AllowOverride 属性改为All

不同系统或者不同版本的修改地方不同,还可能在/etc/apache2/apahce2.conf下面的

3,重启apache

> sudo /etc/init.d/apache2 restart



Leave a Reply

Your email address will not be published. Required fields are marked *