goodbytes
goodbytes

Reputation: 438

yaml configuration for add one more script file to google app engine

I am making a php app using googel app engine. In that, i want to provide a link to another php file in a different directory. but i dont know the yaml configuration for doing so. the yaml file i am using is like this:

application: tryappbhargav
version: 1
runtime: php
api_version: 1

handlers:
- url: /
  script: index.php

- url: /.*
  script: index.php

- url: /signin/
  script: index.php

- url: /signin/index.*
  script: index.php    

i am not able to go to the file 'index.php' inside the directory 'signin'. Please help!! Thank you :-)

Upvotes: 1

Views: 992

Answers (1)

Tim Hoffman
Tim Hoffman

Reputation: 12986

This line is you problem.

- url: /.*
  script: index.php

It will match everything starting with a '/', so nothing gets past this match. Have a read of the docs, you need to place more specific matches before more general url patterns.

Upvotes: 1

Related Questions