在GAE生产服务器上调试404

时间:2014-08-14 07:17:32

标签: google-app-engine

我在实时服务器上的GAE项目的每个文件都收到404错误,我不确定下一个调试步骤

我的目录结构如下:

| /project
|____ /build
|________ index.php
|________ other_project_files.php

以下是app.yaml中的相关配置处理程序:

application: alex-young
version: 2
runtime: php
api_version: 1
threadsafe: true

default_expiration: "7d 0h"

skip_files:
- (.*/)?.*/node_modules/.+ 
- (.*/)?.*/src/.+
- (.*/)?.*/gruntfile\.js
- (.*/)?.*/todo\.txt

handlers:
# - url: /robots.txt
#   static_files: robots.txt
#   upload: robots.txt 

- url: /Alexander\ Young\ -\ Resume.pdf
  static_files: build/Alexander\ Young\ -\ Resume.pdf
  upload: build/Alexander\ Young\ -\ Resume.pdf

- url: /css
  static_dir: build/css

- url: /img
  static_dir: build/img  

- url: /js
  static_dir: build/js  

- url: /partials
  static_dir: build/partials
  application_readable: true

- url: /templates
  static_dir: build/templates
  application_readable: true  

- url: /utils
  static_dir: build/utils
  application_readable: true

- url: /mustache
  static_dir: mustache
  application_readable: true

- url: /(.*\.(gif|png|jpg|ico|js|css|eot|svg|ttf|woff))
  static_files: \1
  upload: (.*\.(gif|png|jpg|ico|js|css|eot|svg|ttf|woff))

- url: /(.+\.php)$
  script: build/\1

- url: /
  script: build/index.php

日志只显示404错误,没有其他信息。我的整个项目在本地计算机的MAMP和GAE测试服务器上运行良好。我不知道在哪里寻找错误。 GAE是否提供除日志以外的任何其他详细信息?

0 个答案:

没有答案