码迷,mamicode.com
首页 > Web开发 > 详细

activate mod_rewrite How To Set Up mod_rewrite for Apache on Ubuntu 14.04

时间:2017-02-06 11:07:36      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:logs   pac   als   new   blog   命令行   apache   mmu   conf   

w命令行搞定。

https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04

1 ubuntu@ubuntu:~$ su
2 Password:
3 root@ubuntu:/home/ubuntu# a2enmod rewrite
4 Enabling module rewrite.
5 To activate the new configuration, you need to run:
6   service apache2 restart
7 root@ubuntu:/home/ubuntu# service apache2 restart

 

activate mod_rewrite How To Set Up mod_rewrite for Apache on Ubuntu 14.04

标签:logs   pac   als   new   blog   命令行   apache   mmu   conf   

原文地址:http://www.cnblogs.com/yuanjiangw/p/6369197.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!