Google App Engine, PHP: reads javascript, images and css as Text files -


i deployed php application on google app engine, tried different configurations of app.yaml file , still can't static files recognized. here code:

application: double-goal-88313 version: 1 runtime: php api_version: 1  handlers:  - url: /maps/stylesheet   static_dir: maps/stylesheet   mime_type: 'text/css'  - url: /logodoc.png   static_dir: maps/images/logodoc.png   application_readable: true  - url: /maps/js   static_dir: maps/js   mime_type: 'application/javascript'  - url: /finddoctor/.*   script: maps/index.php 

thank you!

looking @ comments in above post need like

handlers: - url: /maps/stylesheet   static_dir: maps/stylesheet  - url: /logodoc.png   static_files: maps/images/logodoc.png   upload: maps/images/logodoc.png   application_readable: true  - url: /maps/js/(.*)   script: maps/js/\1  - url: /finddoctor/(.*\.(htm|html|css|js))$   static_files: maps/\1   upload: maps/.*\.(htm|html|css|js)$  - url: /finddoctor/.*   script: maps/index.php 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -