热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

apache配置rewrite隐藏掉thinkphp的index.php

apache配置rewrite隐藏掉thinkphp的index.php?我开启了rewrite模块

apache配置rewrite隐藏掉thinkphp的index.php?
我开启了rewrite模块

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Listen 8888





    AllowOverride all

    Require all denied







    #

    # Possible values for the Options directive are "None", "All",

    # or any combination of:

    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

    #

    # Note that "MultiViews" must be named *explicitly* --- "Options All"

    # doesn't give it to you.

    #

    # The Options directive is both complicated and important.  Please see

    # http://httpd.apache.org/docs/2.4/mod/core.html#options

    # for more information.

    #

    Options All



    #

    # AllowOverride controls what directives may be placed in .htaccess files.

    # It can be "All", "None", or any combination of the keywords:

    #   AllowOverride FileInfo AuthConfig Limit

    #

    AllowOverride all



    #

    # Controls who can get stuff from this server.

    #



#   onlineoffline tag - don't remove

    Require local





 

    #配置访问跟目录  

    DocumentRoot "e:/wamp64/www/golorryService"  

    ServerName http://127.0.0.1:8888


哪里有问题?


推荐阅读
author-avatar
BREW微博2602931837
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有