yii去除index.php的入口脚本显示为seo友好的url
1.去除入口脚本需要在重写url,如果你的webserver软件时Apache的话,必须配置httpd.conf,搜索“LoadModule rewrite_module modules/mod_rewrite.so”,然后去掉此行前面的“#”[ps:注释符号]:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmgAAAClCAIAAABnZJZdAAAY4ElEQVR4nO2dsatcyZWH7z9gHK9h0k0WFHiUeKLZbDdxoBeYNUy29m6uUT48x7sgmMiG3Uw4sQcEkzlxJpjG8sAEAsOAwQMPDIYVGAYceIOWWvdV1Tl1qm7dqlO3v+ZDdN+uOvU7v6pb53a/p3eXv8uPr37/4vzvV79/8cknn3z44Yenu5cAAADXzELhBAAAsEPhBNjKsizDNQBANyoL52WnWD85PxrrextzHb9iLEv7nVKYmll8G6izScDhBgKAnWaF87TbdXdQm0+1u4yxC/vXpL6N0tkq4HADAcAIhbOy2fUwi29DdDaMNtxAADBSXDiX1ONNLArnEZnFNwonAPSh5hOnVCmVMz+usvrx5FtK4bTHCdokQ9n1Sy2lgdZvJd9NalP6ZlUtqYdb37zplPTEoVrpn2Vd6f4YkwKYlB6FU2qmdE8+v5zhSmN7HEv3ojTXDZSx4rcs+o356v4nnXTlmyud2zvW6Vf88bmuSn0DmJ2RhfPyMrg41U9Ie+GsO7GT+2PwyHhq2yiL/JG6WHal0g19uG9OdOqCLZNSp984op91VTQuwAHo8TNO4wlv3BDjzajDxlrmqdcNrn9BqvPNj854kVviXEnhlPyhcMLh8fhVLYUzeClJsu9uipMOffOp0z6PsxfOulJXnRfAdOxYOLdscOs21YVTjxMfT0bLppnwtPDq26g/7rVT4RzumxOd1YVqo/6sP0ZvW60rSVurCwKA6WhWOJfUI/nuveFzXeK+64PZ+HGcoL00kKIz72nOAUmk1CXO92Tej6RMvfnmUKfUPplLW/2u1pUkrNRPgMPA36rdwdMumwVb0ihGOc+6AnAChbO1oTtfaFs+W3C9Py/SPI5aVwAQQ+EEAAAogMIJAABQAIUTwDt8gwrgCu7HGba5w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7M7JwXl4GF4/6CWMvnHUnnrQRxDpFT8svIJT4RRtWNt89Cudwn53o1AUr87VRv33ErA8+16ExPkA3evyMU1noyef6iRdvLh02ymJbU7uPUY9xdPuGtdZjFK8478dnhzqlqqPH2ahft2jedViqH6AbHr+qPUDh3KLHOLp9wzpAQZpRp7JE2+qvtks/bsx6v3VYqh+gGzsWzi0b1rpNdeHU48THk9GyaSY8NeRrv4LevmFd0oyT1SMbN/ThPjvRaRl3D/1ZfxSdHtahlEuFzwB9aFY4l9Qj+e694XNd4r7rg9n4cZygvTSQojPvaaEJ0luWOMmM4gSDsSziA2e8+exQp9Q+mUtb/VOvQykRadyidQKwB/yt2o5eDzrJpQ0Lhvg/HNYhwEYonL2MHnqBrHwyUK7rwT+l8+htHQLMCIUTAACgAAonAABAARROgBC+SAQABe7HGbbpv2n2HNezD050Ngm437lAUQcYDrcVq2y2X5pOBhq+QY/S2Srg3qcDAIyCwlnZbL80nQw0fIMeorNhNAonwFHhfpyVzfZL08lAwzdoCmfPsABgh/txJkLZ9VvyjYeTrKiIrMQf64NPnZKeOFQr/aPWiT2+PRoAnPH4R96l58vbnVRpbI9j6V6U5pZ8LWGVgLEnrnxwonN7xzr9WX825ts2PgBk4X6cpv1UunK35Js9bnlXT0Tf0If74ERnqf+t9JfOePN1oh+ncAKUwv04iz+ImGwVqotSdaYonKUmeNNZ5P/ehVPR02SdSHEqdALAGo9f1R6gcG6xxR7QT0GaUaeyhNrqL7VLP169GlvpBADux5m42A89KtxoWhWAbHzjhj7cByc6LePuoT/rj12nlK+uvyg+AGThfpzpgRSdeU8NJliO68ED5d58cKhTap/Mpa3+XdeJNFCpPwBghL9VC9cOxQMAiqBwOmURHsOFQRHMI8DxoHACAAAUQOEEAAAogMIJsBd8JQtwSLgfZ9iGze5Ifg7U2STgcAMBIIbbilU2g1n8HKWzVcDhBgJAwP8D9+lpD8DhgRYAAAAASUVORK5CYII=" alt="" />
2.在yii的web应用程序主配置文件main.php[path\to\protected\config\main.php],使用urlManager增加一个数组配置选项'showScriptName'=>false:
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName'=>false,//去除入口脚本index.php的显示
'rules'=>array(
'post/<id:\d+>/<title:.*?>'=>'post/view',
'posts/<tag:.*?>'=>'post/index',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
),
),
3.从项目的其它路径中复制一份.htaccess文件到与入口脚本index.php相同层次的路径下,用以下代码覆盖其中的内容:
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on #启用重写引擎
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
关于apache重写规则的定义,请见:http://httpd.apache.org/docs/2.2/en/mod/mod_rewrite.html#rewriterule 以及http://www.maxi-pedia.com/FollowSymLinks
另外,如果你不知道如何在windows下创建没有文件名的文件可以使用如下方式创建到一个路径下:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAApwAAAGvCAIAAAB5L5JsAAAgAElEQVR4nO3d+btkVXko4PPzjd6o0dxEc72OOANOOAKtaEwYFAWTCCqIRkGBZhJBobsBUaCZ53kUcMQB0ChGC1CccIrkRmPAeHFAxOQOf0DdH/Y51Zs9rL12DafqfP2+z3r62bVq7TVV7f31d6r69NI9P/q2oiiKoihrvaxbt27pnh99ewgArGWbNm3aEtTn/vcLRVEURVHGLoK6oiiKogQpDUH9vzztvROWP3r6e//o6e8ryiO2ed8jtjn4Edsc/IhnHPzI5XLII595yH8tyrMO/eNRefb6RxXlOesf9Zz1j37OYY9+zmGPfu5hj37uYY957uGPed7hj3ne4X9SlG2P+JNtj3jstkc8drsjHrvdkY/d7sjHbXfk47Y/8nHbH/W47Y/60+2P+tPnF+X9/+0Fy+XPXnD0n71wufz5i47+8xd9oCiPf/EHHv/iYx7/4mMev8MxT9jhmCfscOwTdjj2L16yUl76wf8+Ki/70BOL8vIPPfHlx/2PorziuCe94rgnveL4J73i+Ce98vgnv/L4J79yw5N33PDkHTc8pSg7bXzKThufutPGp+688ak7b3rqzpuetvOmp63b9LR1Jzx93QlPf9Vy2eZVJ27z6uXyjF1OGpVnvuakZ77mw898zYef9dqinPys15787L8sykee/bqPPGdU/uqjz10pz/vrU5bLrqdsu+sp2+566ra7nrrtbqdut9up2+122na7n7bd7qdtv/tp2+++efs9Nm+/x+bn77H5+a/f/PzXn/6Corzh9Be84YwXvuGMF+5ZlDNftOeZL3rjcnnxm84qyg5vOmuHvc4uykv2Ovsle5/9kr3Pecne57z0zUU596VvPvdlf1OU817+t1vKK/7u/OXylvNf+ZYLlss+F+y4zwU77nPhjvteuOO+F+6074U77XvRTm+9aOeivO3ind928bqivP3idW+/5FVvv+RV+xXl0lfvd+mr97/01ftfusv+l+6y/2W7vOOyXd5x2WvecdlrDri8KK894PLXvvOKovzlu4py5evedeXr/r4oV/3Vu0fl6r9+z0o58OpdD7xmuRx0zW4HXbvbQdfu9t5rd18u1+3+vuv2WC4f2+Pgj72+KIdc//pDrn9DUQ69fs9Db9jz0Bv2XH/DnutveOP6G9+4/sY3HnbjGw+78U2H3fimwz9elL0O//heR3xiryM+sfcRn9j7yE/sfeQn9z7yk28+8pNvPqoon/qb94/Kp//26C3l7z7wmaK85ZjPvOWYm4qyz7E37XPsZ/c59rP7fPCz+y6Xz+37oc+9tSjHff5to3L8F95elA1fePuGL+y34eb9Nty838ab99t48/4bb9l/0y37b7rlHUU54dZ3nHDrASfcesCJtx5w4hcPOPGL7zzxi+886YvvPOlL7zzpS+866Uvv+nBR/uHvT14u7z75y+/+yHJ5z0e//J6PfqUoB57ylQNPue3AU2478NTbDjr1toNO/epBp371vaetlM3/+L5ROf1rBxfljK8dfMbXDynKmV8/9MyvH3rm4NAzB4eeNVh/1mD9WbevP/v29WffflhRzrnjsHPuOPycOw4/947Dz73z8HPvPOLcO484784jzvvGked948jzl8tR53/zqAuWy/svvGtUjr7orqMv+tbRF33rAxcX5dsfuPjbx1xSlO8cc+l3jh2Vy777wZXyoc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hUweAIGTqABCETB0AgpCpA0AQMnUACEKmDgBByNQBIAiZOgAEIVMHgCBk6gAQhEwdAIKQqQNAEDJ1AAhCpg4AQcjUASAImToABCFTB4AgZOoAEIRMHQCCkKkDQBAydQAIQqYOAEHI1AEgCJk6AAQhUweAIGTqABCETB0AgpCpA0AQMnUACEKmDgBByNQBIAiZOgAEIVMHgCBk6gAQhEwdAIKQqQNAEDJ1AAhCpg4AQcjUASAImToABCFTB4AgZOoAEIRMHQCCkKkDQBAydQAIQqYOAEHI1AEgCJk6AAQhUweAIGTqABCETB0AgpCpA0AQMnUACEKmDgBByNQBIAiZOgAEIVMHgCBk6gAQhEwdAIKQqQNAEDJ1AAhCpg4AQcjUASAImToABCFTB4AgZOoAEIRMHQCCkKkDQBAydQAIQqYOAEHI1AEgCJk6AAQhUweAIGTqABCETB0AgpCpA0AQMnUACEKmDgBByNQBIAiZOgAEIVMHgCBk6gAQhEwdAIKQqQNAEDJ1AAhCpg4AQcjUASAImToABCFTB8dkhUMAAAC+SURBVIAgZOoAEEQRizPLunXrBHUAWFBFRM5RxGtBHQAWVDkip4ugDgALTVAHgCAEdQAIQlAHgCDKEbmtgaAOAGtAJVOvPyuoA8DaUP/xe/kpQR0A1ozGz9SXmn4pjaAOAAvNF+UAIAhBHQCCENQBIAhBHQCCKAJxJkEdABbXup66g3pO1q8oiqIoyiKUVFDP/G9cAYAF0RrUFUVRFEVZi0VQVxRFUZQgZUtQz/+uHQCwmNatW9f7u3YAwGL6/y9GlLHUSsFkAAAAAElFTkSuQmCC" alt="" />
yii去除index.php的入口脚本显示为seo友好的url的更多相关文章
- Yii应用的目录结构和入口脚本
以下是一个通过高级模版安装后典型的Yii应用的目录结构: . ├── backend ├── common ├── console ├── environments ├── frontend ├── ...
- Yii2.0教程应用结构篇 —— 入口脚本
入口脚本是应用启动流程中的第一环,一个应用(不管是网页应用还是控制台应用)只有一个入口脚本.终端用户的请求通过入口脚本实例化应用并将将请求转发到应用. Web 应用的入口脚本必须放在终端用户能够访问的 ...
- ThinkPHP在Apache和Nginx下去除index.php方法
由于项目需要,用ThinkPHP开发的程序链接要去除index.php下面说下如何解决.一.Nginx方法 由于nginx不支持PATH_INFO,所以需要进入linux终端找到nginx 的配置文件 ...
- 在APACHE服务器上的访问方式上去除index.php
在APACHE服务器上的访问方式上去除index.php 下面我说下 apache 下 ,如何 去掉URL 里面的 index.php 例如: 你原来的路径是: localhost/index ...
- yii 隐藏index.php
首先,开启apache的rewrite模块 去掉rewrite前的#,如下所示 LoadModule rewrite_module modules/mod_rewrite.so 接着,在yii的ind ...
- js 原生: 身份证脱敏、唯一随机字符串uuid、对于高 index 元素的隐藏与显示
1. 对于高 index 元素的隐藏 与 显示 export const hideIndexEle = (cssStr)=>{ const player = getElementsByCss(c ...
- shell脚本--显示文本内容
shell脚本显示文本内容及相关的常用命令有cat.more.less.head.tail.nl 首先是cat,cat最常用的就是一次性显示文件的所有内容,如果一个文件的内容很多的话,那么就不是很方便 ...
- 不支持javascript的浏览器将JS脚本显示为页面内容
不支持javascript的浏览器将JS脚本显示为页面内容.为了防止这种情况发生,您可以使用这样的HTML注释标记:<html ><体><script type=“tex ...
- PHP单一入口apache配置和去除index.php
index : index在互联网上表示网站的默认主页. 一般为 index.html index.htm index.asp index.php: 另外的默认主页也多用default.html;de ...
随机推荐
- 《BI那点儿事》数据流转换——OLE DB 命令转换
OLE DB命令对数据流中的数据行执行一个OLE DB命令.它针对数据表中的每一行进行更新操作,可以事先将要更新的数据存放在表中.或者针对一个有输入参数的存储过程,可以将这些参数存放在一个数据表中,不 ...
- openstack 流量控制
G版的流量控制,可以在horizon通过对flavor进行配置来实现 1.有admin权限,点击admin进入管理界面:点击Flavors,选取要控制的flavor:点击more,找到View Ext ...
- php注意事项2
1.不要使用相对路径 常常会看到: require_once('../../lib/some_class.php'); 该方法有很多缺点: 它首先查找指定的php包含路径, 然后查找当前目录. 因此会 ...
- Python中类的特殊方法详解
本文和大家分享的主要是python语言中类的特殊方法相关用法,希望对大家有帮助. 构造序列 1._len_(self) 2._getitem_(self,key) 3._setitem_(self,k ...
- oracle PROCEDURE AS IS区别
在存储过程(PROCEDURE)和函数(FUNCTION)中没有区别,在视图(VIEW)中只能用 ,在游标(CURSOR)中只能用IS不能用AS.
- python中列表的常用方法
s=[1,2,3] s[3]=12#列表长度小于3时无法给列表赋值 len(s)#列表长 s+s s*5#l列表重复5次 5 in s#判断元素是否在列表中,返回true or false max(s ...
- C#窗体 WinForm 对话框,流
一.对话框 ColorDialog:颜色选择控件 private void button1_Click(object sender, EventArgs e) { //显示颜色选择器 colorDia ...
- linux 安装 ftp
1 安装 vsftpd 查看是否已经安装 vsftpd rpm -qa | grep vsftpd 如果没有 则安装 安装命令如下 yum -y install vsftpd 设置开机启动 chkc ...
- Rest接口测试,巧用firebug插件
两年前开始做软件测试,刚接触的是关于rest接口的测试.作为一个刚进职场的测试小菜鸟,当时对接口的理解并不是很充分,具体是怎么实现的也不清楚.在进行接口测试时,只是设置接口入参,调用接口,查看接口是否 ...
- java_easyui体系之DataGrid(2)[转]
一:简介 在1的基础上添加layout组件.实现通过条件动态的从后台查询数据到前台展示.使用的方式是将查询单独作为一个layout中的一个面板. 二:关键之处 1.效果图: 2.左侧的折叠组件: 折叠 ...