Thinkphp 隐藏 index.php 方法
来源:互联网 发布:淘宝上有什么好东西 编辑:程序博客网 时间:2024/05/18 02:02
方法一
https.ini 中
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
# AllowOverride All 原来是 none 变为 All
AllowOverride All
建议在虚拟目录中设置
<VirtualHost 127.0.0.1:80>
ServerAdmin admin@163.com
DocumentRoot "D:/www/CarShop"
ServerName www.huifw.com
ServerAlias huifw.com
<Directory "D:\WWW">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
config.php 中
'URL_MODEL' => 2 ,
------------------------------------------------------------------------------------------------------------
在根目录下面 建立 .htaccess 一定要有 点 ,可以cmd下起名,或是另存为
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
------------------------------------------------------------------------------------------------------------
- Thinkphp 隐藏 index.php 方法
- thinkphp 隐藏index.php
- bae+ThinkPHP隐藏index.php
- thinkphp隐藏Index.php入口
- 关于ThinkPHP隐藏index.php
- 配置thinkphp路由,隐藏index.php
- ThinkPHP框架里隐藏index.php
- thinkphp 后台入口隐藏index.php
- thinkphp 隐藏index.php iis apache nginx
- thinkphp5 隐藏index.php方法
- thinkPHP Apache 优化url,隐藏index.php所需配置
- thinkphp隐藏index.php/home,并允许访问其他模块
- Debian8环境下thinkphp框架隐藏index.php
- ThinkPHP框架中隐藏index.php无效解决方法
- thinkphp去掉index.php
- ThinkPHP取消index.php
- thinkphp去掉index.php
- ThinkPHP 找不到index方法
- ORACLE数据库中 row_number() over(partition by col1 order by col2) 用法
- HDU 1087
- 用递归方法建立二叉树
- Java RMI
- [转]个性化推荐--能否造就下一代霸主?
- Thinkphp 隐藏 index.php 方法
- Day08第八天java基础-----------多态
- 凸包(Convex hull)
- 从Win32程序的主函数WinMain中获取命令行参数
- 如何查看oracle进程消耗的内存
- SS,ESP及EIP
- Android之PreferenceActivity
- iskindofclass和ismemberofclass比较一个对象是
- jQuery EasyUI中对表格进行编辑的实现代码