Home > Backend Development > PHP Tutorial > 目录访问 500

目录访问 500

WBOY
Release: 2016-06-06 20:19:45
Original
1402 people have browsed it

在阿里云买了一个web服务器,打了一个thinkcmf。可以带参数访问页面,但是目录访问就报500,所有的静态文件都不能访问。哪位大神知道什么原因呀。


参考地址:
http://ew-2i9i5oewu.aliapp.com
http://ew-2i9i5oewu.aliapp.com/index.php?m=list&a=index&id=2
http://ew-2i9i5oewu.aliapp.com/admin

回复内容:

在阿里云买了一个web服务器,打了一个thinkcmf。可以带参数访问页面,但是目录访问就报500,所有的静态文件都不能访问。哪位大神知道什么原因呀。


参考地址:
http://ew-2i9i5oewu.aliapp.com
http://ew-2i9i5oewu.aliapp.com/index.php?m=list&a=index&id=2
http://ew-2i9i5oewu.aliapp.com/admin

你这域名他人无法访问,且ALIAPP没有文件写权限,

肯定配了rewrite一类 转发到php了 PHP文件执行错误

找到答案了,服务器用的apache,然后.htaccess是这样配置的

<code> <files>
 Order Allow,Deny  
 Deny from all
 </files>
</code>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template