I have deployed several PHP apps on GAE standard environment, all working fine.
Now I\'m deploying a new app, which on the local server provided by the gcloud
You can use the application_readable
handler option to include the respective static files in the app code as well. From Handlers element:
application_readable
Optional. Boolean. By default, files declared in static file handlers are uploaded as static data and are only served to end users. They cannot be read by an application. If this field is set to true, the files are also uploaded as code data so your application can read them. Both uploads are charged against your code and static data storage resource quotas.
Like this:
- url: /(.*\..{2,})
static_files: \1
upload: (.*\..{2,})
application_readable: true
secure: always