I'm struggling to setup URL handlers in the handlers
section of my app.yaml
file for my standard engine php application.
Following code makes both mydomain.com/abc.php
and mydomain.com
display the abc.php
file in my dist
folder:
handlers:
- url: /(abc\.php)
script: dist/abc.php
- url: /(.*)
script: dist/abc.php
However, I don't want a catch all handler, so I removed it so only 1 handler exists:
handlers:
- url: /(abc\.php)
script: dist/abc.php
Now when I go to mydomain.com/abc.php
, I'm getting a 500 error:
How can I make a targeted URL work on GAE without using a handler for all URL's?