Basically I'm new to the google app engine, I have a folder called templates in which I have several files :
index.php result.php request.php
However on the yaml.app I figured out only how to run the server locally by making the templates/index.php default page. I mean when I go to http://localhost:8080
it is what I see. But when I do http://localhost:8080/templates/index.php
it says 404 not found. How Can I use all the files I want in any directory inside my app, is it somekind of rule I should add to my app.yaml?
Here is the current app.yaml im using :
application: sympy-live-hrd version: 38 runtime: python27 threadsafe: true api_version: 1 libraries: - name: numpy version: latest - name: matplotlib version: latest handlers: - url: /static static_dir: static expiration: 1d # cache-busting scheme # request /static-(app version)/filename - url: /static-[0-9]+/(.*) static_files: static/\1 upload: static/(.*) # if you're adding the shell to your own app, change this regex url to the URL # endpoint where you want the shell to run, e.g. /shell . You'll also probably # want to add login: admin to restrict to admins only. - url: .* script: shell.application
The Shell.application is a python script that I edited to use templates/index.php as default
Source: http://stackoverflow.com/questions/17904551/how-to-use-google-app-engine-server-as-normal-server
Mlk Quotes Elder Scrolls Online joe biden lupe fiasco jason wu jason wu Mavericks Surf
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.