Google app engine-php: script handler

Posted by Eve on Stack Overflow See other posts from Stack Overflow or by Eve
Published on 2013-10-24T15:27:16Z Indexed on 2013/10/24 21:55 UTC
Read the original article Hit count: 140

Filed under:
|
|

I try to create php web app using GAE.

In the GAE tutorial, "A script handler executes a PHP script to handle the request that matches the URL pattern. The mapping defines a URL pattern to match, and the script to be executed"

Now I want to map the url with the file having same name in the folder, e.g. if the url is /hello.* , it will map the file name hello.php in the folder. And if it is /hello1.*, hello1.php in the folder will be responded to the server.

I thought this should be done directly by mapping the name of the url with the name in the folder. But if I left empty for the handler in the app.yaml, I got an error.

So I want to know how to set up the handler in app.yaml?

© Stack Overflow or respective owner

Related posts about php

Related posts about google-app-engine