请问关于cakephp的配置有关问题
程序员文章站
2022-06-01 11:34:47
...
请教关于cakephp的配置问题
我是按手册进行的配置,在apache的服务器配置文件上设置了documentroot "e:/cakephp/app/webroot",然后了这样倒是可以访问webroot/index.php。但是手册上说还要设置几句
Options FollowSymLinks
AllowOverride all
# Order deny,allow
# Deny from all
AllowOverride all本来是AllowOverride none
但是设置为ALL之后程序就出错了如下
/-------------------------------------------------------------------/
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
/-------------------------------------------------------------------/
请问是什么原因,还有就是修改了webroot/.htaccess,请问这有什么用??????
------解决方案--------------------
应该是webroot/.htaccess 这个文件的错误,把这个文件的配置贴出来看看
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/java-web/317.html
我是按手册进行的配置,在apache的服务器配置文件上设置了documentroot "e:/cakephp/app/webroot",然后了这样倒是可以访问webroot/index.php。但是手册上说还要设置几句
Options FollowSymLinks
AllowOverride all
# Order deny,allow
# Deny from all
AllowOverride all本来是AllowOverride none
但是设置为ALL之后程序就出错了如下
/-------------------------------------------------------------------/
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
/-------------------------------------------------------------------/
请问是什么原因,还有就是修改了webroot/.htaccess,请问这有什么用??????
------解决方案--------------------
应该是webroot/.htaccess 这个文件的错误,把这个文件的配置贴出来看看
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/java-web/317.html
相关文章
相关视频
上一篇: 一个很奇怪的soap有关问题
下一篇: php 创建以UNIX时间戳命名的文件夹