目前共有3篇帖子。
字体大小:较小 - 100% (默认)  内容转换:不转换
 
点击 回复
2315 2
【Linux】Ubuntu下Apache的Rewrite启用方法
巨大八爪鱼
武林盟主 二十一级
回复
1楼 发表于:2013-1-26 20:00
sudo a2enmod rewrite
sudo service apache2 restart
巨大八爪鱼
武林盟主 二十一级
回复
2楼 发表于:2013-7-14 13:11
octopus@pc3:~$ sudo a2enmod rewrite
[sudo] password for octopus:
Enabling module rewrite.
Run '/etc/init.d/apache2 restart' to activate new configuration!
octopus@pc3:~$ sudo service apache2 restart
 * Restarting web server apache2                                                apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
                                                                         [ OK ]
octopus@pc3:~$

巨大八爪鱼
武林盟主 二十一级
回复
3楼 发表于:2013-7-14 13:12
这是ubuntu下启用重写模块的最简单方法
回复帖子
内容:
用户名: 您目前是匿名发表。
验证码:
看不清?换一张
(快捷键:Ctrl+Enter)
本帖信息
点击数:2315 回复数:2
作者:巨大八爪鱼
最后回复:巨大八爪鱼
最后回复时间:2013-7-14 13:12
精品区:网页编程
本吧精品帖子
公告板