2013-06-14 4 views
0

GAE에 완전히 익숙하지 않으며 GAE를 로컬로 사용하여 PHP 사이트를 테스트하고 싶습니다. GAE가있는 모든 사이트를 localhost : 8080에서 실행하도록 내 사이트를 설정했습니다. Google App Engine url_rewrite php app

PHP는 사이트

는 로컬 호스트/동적 URL을 같은 URL이의 index.php? Q = 동적 URL을 같은 PHP 응용 프로그램에 전달 된 다음 설정

# First attempt to serve request as file, then 
# as directory, then fall back to index.html 
try_files $uri $uri/ /index.php?q=$uri&$args; 

로 nginx를 실행하고있다.

GAE를 어떻게 만들 수 있습니까? php 파일을 건드리지 않고이 happend를 만들 수 있습니까?

이 내 YAML 파일

application: gallerysite 
version: 1 
runtime: php 
api_version: 1 

handlers: 

- url: /img 
    static_dir: img 

- url: /css 
    static_dir: css 

- url: /js 
    static_dir: js 

- url: /.* 
    script: index.php 

답변