Google App Engine, PHP, Mimetype, app.yaml, static_dir, script, static_files
When I deploy my site, PHP files cause an msg error:
Failed to guess mimetype for
This is the configuration file appl.yaml:
application: applicationname
version: 1
runtime: php
api_version: 1
threadsafe: true
handlers:
- url: /
script: index.php
- url: /(.+\.php)$
script: \1
- url: /Client_Pages
static_dir: Client_Pages
Files that cause the error are not uploaded to the deployed website. These same files work fine Google App Engine Launcheron my computer.
The file index.phpin the root directory does not cause errors and does not run on the deployed website.
, PHP html, ? PHP html Client_Pages. , , , , .
PHP app.yaml PHP, html .
application: yardsalesuperhighway
version: 1
runtime: php
api_version: 1
threadsafe: true
handlers:
- url: /Client_Pages/Offered_Menu.php
script: Client_Pages/Offered_Menu.php
- url: /Client_Pages/InputForm.php
script: Client_Pages/InputForm.php
- url: /Client_Pages/WantedPage.php
script: Client_Pages/WantedPage.php
- url: /Client_Pages
static_dir: Client_Pages