java - website.com 自动定向到index.php

标签 java php google-app-engine

我有一个在 google app engine 上运行的网站,用 php 编写。因此,当用户登陆domain.com时,他们会收到404错误,因为没有index.html文件,只有一个index.php文件。

有一些明智的选择来解决这个问题吗?

谢谢

最佳答案

更新 web.xml 中的 welcome-file-list 以包含 index.php 文件。

关于java - website.com 自动定向到index.php,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12898215/

相关文章:

java - 继承GAME的Api方法

java - 将 Parse Java SDK 翻译成 JRuby

java - 尝试在 Android 应用程序(java)上设置静音按钮

php - 使用带有 SUBSTRING 的 UPDATE 语句进行结果更新

php - 与搜索表单相关的自定义搜索查询

python - Google Stackdriver 使用 Redis 队列登录 App Engine (Python)

java - 解析 JSON 以供在 highchart.js 中使用

java - Activity 和 Service 之间的连接

php - 从 APNS-php 错误中检索 token

java - Google App Engine 将延迟任务添加到队列中会产生多个任务