Home > Backend Development > PHP Tutorial > nginx - index.php 能访问, index-test.php 能访问, indexa.php 就不能访问了, 为什么?

nginx - index.php 能访问, index-test.php 能访问, indexa.php 就不能访问了, 为什么?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:20:11
Original
1939 people have browsed it

要弄多个入口文件, index.php 被用, 想起一个叫 indexa.php 的, 结果连不上,

然后有换成 index-test.php , admin.php 等都是好着的,

indexa.php 改个名字, 改成 index-test 等都是好的

为什么 indexa.php 就不行呢?

报错

<code>Firefox 就是一直转圈, 然后就没反应了, 
chrome 是 无法找到此页面
从 `wwww.xxx.com/index.php` 进入能正常, 把连接换成 `www.xxx.com/indexa.php` 浏览器转会圈, 就又跳回 `www.xxx.com/index.php` 了</code>
Copy after login
Copy after login

回复内容:

要弄多个入口文件, index.php 被用, 想起一个叫 indexa.php 的, 结果连不上,

然后有换成 index-test.php , admin.php 等都是好着的,

indexa.php 改个名字, 改成 index-test 等都是好的

为什么 indexa.php 就不行呢?

报错

<code>Firefox 就是一直转圈, 然后就没反应了, 
chrome 是 无法找到此页面
从 `wwww.xxx.com/index.php` 进入能正常, 把连接换成 `www.xxx.com/indexa.php` 浏览器转会圈, 就又跳回 `www.xxx.com/index.php` 了</code>
Copy after login
Copy after login

indexa.php 不行错误提示是啥呢?
1,可能没有文件
2,可能没有读写权限
3, 想不到了。。。

Related labels:
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
Latest Issues
Error restarting nginx
From 1970-01-01 08:00:00
0
0
0
server - Nginx configuration webapp problem
From 1970-01-01 08:00:00
0
0
0
Nginx default.conf problem
From 1970-01-01 08:00:00
0
0
0
centos7 - NGINX exception occurs
From 1970-01-01 08:00:00
0
0
0
nginx load balancing
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template