1.开启rewrite模块,使用命令:a2enmod  rewrite

2.在apache2.conf,配置你网站的目录(是目录而定)

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaQAAAB2CAIAAAAIr3DyAAAgAElEQVR4nO2de3wTZaK/38llZjK59pZrm+v0BqWdpOm9FNqCXAu1lFKgLTcBuShyk1Lulyq0FdpS2pAjOIscWBVEUVFEkMt4VMiePefsb3d1dfe46uLdVZdl8bhufn8kaZI2maSlBUpePs8ftDOZ9513Mk/fd+ad74CbN2/euHHj+vXrP/zww3fffff1119/8cUXx3/9qQuKICEQCOQeAEDZQSCQSADKDgKBRARQdhAIJCIAn3322bVr1z799NOPP/74o48++vDDD99//30oOwgEco8Be3YQCCQigLKDQCARAZQdBAKJCKDsIBBIRABlB4FAIgIoOwgEEhFA2UEgkIgAyg4CgUQEUHYQCCQigLKD3ArGClT2BD8h587XZOhiLEdlTfyE7Dtfk3ucwZVdvll68iBybEZC1uDviTlKNy1XVS6/823qwopHvwI4/4YZzfdyWbq1HODgqPKDHRRCNx1TVQjC3bhZID8OgMNF8M3enl0Op/IDUY2gbRiyNQow6WmAPM/v5/l1O782dwO3JDuLXNXaxLlEA4YG51sxW628LNpvheJS/BINzq9U5Q3+nmQNk56meY3DTHe8TSmCpAjTZD7fAUS1YZ/nQ7OsELLLwqXnAK8JD/+gGMfi2sm4egfCLrvbscthVH5AqsHShiFaoxjFrwDwFpftr8IgV34ocUuyM6vlR2nw3HR1RYZ6wRTpYRtgdsuqYn3WERnHpiaURN2OPbnLZJewHQEMV92vb+EQKmvAZedCv4p1s7dnl8Oo/IBUI0QbsraGcRyeUDowh/Lep++yE5pGpylWlWqzPbI7XGRwdYOt+tgjh8DJaq3Vs4hx0dCzZ2eJjX9knvDpJu4bB13rcA5P0VpdS8WGyjLxkTaEocGlDmxfuaZQ1P1BU7E1Zu8m/tmnAEODSwf4BysSrARJRWme6PSU5eH8CnWu61MSfc0M4fFOwNDgzGPCDdl6a6hqWJQK+hB4qa57dGCctR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4hwNzjRIVxerZmWqawvlK4q8KbvmOJXNDi5slS3JUc/Klz9Sos0iSEponLGAx9D8fRWK2lxF/SO9b1AElR0l0a59DDCdHMZOdI9hzTHqtj38Qwtia41hTauGQCC3k37OszN7u1fGGUs5TJu0XOa3gkWuamvmXKYBQ4M32zBbnXxKbK+NyNUbG3gXaMA8xT02X10gJCl2y4gMlZMldAvHdcHu9SZibaLHsELTmJzoti28c65reQd4R+apC72VNJUWSQ+3IQwNmIPco/PcZVESfW01ccIGGBqc3S3cmOOdehJCdgRZkCt6gwZnl6vzfHqalj69LAICgdxGbnlScbS6zQZerrsdT33dVViNMccP8relwJutEMjQ4FZll2cVvUHzIuect0TryocnlGfF7WlCzixXFfXpfdUQCOTOAfbv39/R0dHe3t7W1tba2rpnz56WlpZwZSc0zn6Ew+yJKgv12uZ7hpx0yUuucfeSuIlwTgkEMnS4NdlBIBDIEAHcvHmzo6Pj+vXrP/zww3fffff1119/8cUXUHYQCOQeA8oOAoFEBFB2EAgkIoCyg0AgEQGUHQQCiQig7CAQSEQAZQeBQCICKDsIBBIRQNlBIJCIAMoOAoFEBFB2EAgkIoCyg0AgEQGUHQQCiQig7CAQSEQAZQeBQCICKDsIBBIR/H+gQjFmnN/YngAAAABJRU5ErkJggg==" alt="" />

3.在你的网站目录下添加去掉index.php的.htaccess(分布式配置文件)

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$ [QSA,PT,L]
</IfModule>

4.重启apache.  service apache2 restart .即可实现

ubuntu(14.04) 下配置重写的更多相关文章

  1. ubuntu 14.04 下配置 Go 1.51

    1.最简单的直接的方式(不用设置GOROOT) - 下载 归档文件 并解压到  /usr/local/go/  - 设置环境变量 - 设置系统级的 gedit /etc/profile # 在最末尾加 ...

  2. Ubuntu 14.04 下 android studio 安装 和 配置【转】

    本文转载自:http://blog.csdn.net/xueshanfeihu0/article/details/52979717 Ubuntu 14.04 下 android studio 安装 和 ...

  3. Ubuntu 14.04 下搭建SVN服务器 svn://

    Ubuntu 14.04 下搭建SVN服务器 svn:// 安装软件包: sudo apt-get install subversion 之后选择SVN服务文件及配置文件的放置位置.我放在了/srv下 ...

  4. Ubuntu 14.04下安装功能强大的屏幕截图软件 Shutter

    [注释]试用了一下,果然很强大,牛逼 一款功能强大的屏幕截图软件——Shutter,Shutter最基本的就是截图功能了,在设计上可以自由选定区域,同时选定之 后依然可以通过上下左右四个地方来改变选区 ...

  5. Ubuntu 14.04下java开发环境的搭建--3--Tomcat及MySQL的安装

    前面两篇文章,已经说明了JDK和Eclipse 的安装方法,下面简单说一下,Tomcat及MySQL的安装方法. Tomcat的安装. 在合适的地方解压apache-tomcat-6.0.39.tar ...

  6. Ubuntu 14.04 下搭建SVN服务器 (转载自 http://www.linuxidc.com/Linux/2015-01/111956.htm)-------------我所用到是红色字体

    http://www.linuxidc.com/Linux/2015-01/111956.htm Ubuntu 14.04 下搭建SVN服务器 svn:// 安装软件包: sudo apt-get i ...

  7. Ubuntu 14.04 x64配置Android 4.4 kitkat编译环境的方法

    Ubuntu 14.04 x64配置Android 4.4 kitkat编译环境的方法跟Ubuntu 12.04 - 13.10 以及jellybean编译环境配置没多大区别, 顺便记录下而已: Ub ...

  8. Ubuntu 14.04下超级终端Minicom连接ARM(转)

    转自:https://blog.csdn.net/ajianyingxiaoqinghan/article/details/70209765 笔者的工作环境: PC系统:Ubuntu 14.04 LT ...

  9. Ubuntu 14.04 下的MAC OS X 主题安装

    Ubuntu 14.04 下的MAC OS X 主题安装 安装 MAC OS X 主题会帮助你的 Ubuntu 14.04 看起来更像MAC OS X.在这里我们介绍的Macbuntu安装包包含了GT ...

随机推荐

  1. vim高级用法

    http://vim.wikia.com/wiki/Using_command-line_history ----------------------------------------------- ...

  2. [Algorithm] Reservoir Sampling

    Given a stream of elements too large to store in memory, pick a random element from the stream with ...

  3. Spring MVC中使用errors标签

    先创建一个实体类,后续的验证都基于这个实体类: public class Goods { private String goodsName; private String city; private ...

  4. Linux中10个有用的命令行补齐命令

    本文转自GeekFan,感觉确实比较极客范啊,[TAB][TAB]补全都知道,但是你知道可以定制化补全吗? ---------------------------------------------- ...

  5. jQuery页面滚动图片等元素动态加载实现

    一.关于滚动显屏加载 常常会有这样子的页面,内容很丰富,页面很长,图片较多.比如说光棍节很疯狂的淘宝商城页面. 或者是前段时间写血本买了个高档耳机的京东商城页面,或者是新浪微博之类. 这些页面图片数量 ...

  6. vsphere产品下载列表

    https://my.vmware.com/cn/web/vmware/info/slug/datacenter_cloud_infrastructure/vmware_vsphere_with_op ...

  7. html转译字符 字符实体

    http://www.w3school.com.cn/html/html_entities.asp http://www.w3school.com.cn/tags/html_ref_entities. ...

  8. linux下时间有关的函数和结构体

    1.时间类型.Linux下常用的时间类型有6个:time_t,struct timeb, struct timeval,struct timespec,clock_t, struct tm. (1) ...

  9. 给go程序添加命令行参数

    操作系统: CentOS 6.9_x64 go语言版本: 1.8.3 问题描述 需要应用程序根据不同的配置文件访问不同的服务器,希望程序启动时可以指定配置文件. 解决方案 package main i ...

  10. 使用Dlib来运行基于CNN的人脸检测

    检测结果如下 这个示例程序需要使用较大的内存,请保证内存足够.本程序运行速度比较慢,远不及OpenCV中的人脸检测. 注释中提到的几个文件下载地址如下 http://dlib.net/face_det ...