thinkphp3.2,APACHE服务器为什么无法设置URL模式
3个回答
展开全部
<Directory "D:/ApacheServer/web"> # # 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.2/mod/core.html#options
# for more information.
# Options Indexes FollowSymLinks # # 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 None # # Controls who can get stuff from this server.
# Order allow,deny
Allow from all</Directory>把
AllowOverride None 换成 AllowOverride All 使apache支持 .htaccess 文件url模式2和3有伪静态部分 ,如果你要开启伪静态和url重写 需要改掉,记得重重启apache,
展开全部
'SESSION_AUTO_START'=>true,//是否开启session'APP_DEBUG'=>true,'URL_MODEL'=>2,'APP_GROUP_LIST'=>'Admin,Home',//项目分组设定'DEFAULT_GROUP'=>'Home',//默认分组这是代码,详细的后盾人好像有哦,有高清教学视频,
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
这个跟服务器没关系,在你的程序中找问题!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询