Questions tagged [app.yaml]

app.yaml is a configuration file for Google App Engine applications.

With app.yaml, you can configure your App Engine application. For Java apps, it allows you to configure your application more easily, and with fewer files, than with the standard web.xml configuration. You can use app.yaml as long as your application does not need to be portable to other Java application servers.

Source: developer.google.com (Java Application Configuration Using app.yaml)

309 questions
0
votes
1 answer

Having Problems with PHP sessions in Google APP Engine

I am having three files... 1st is index.php
CyberBoy
  • 740
  • 1
  • 4
  • 30
0
votes
1 answer

YAML Script Handelers

I have two files in root folder. ie. index.php and signup.php and the app.yaml looks like this, application: testcboy version: 1 runtime: php api_version: 1 threadsafe: yes handlers: - url: /css static_dir: css - url: /js static_dir: js -…
CyberBoy
  • 740
  • 1
  • 4
  • 30
0
votes
1 answer

Google App Engine - PHP App Images/CSS not found

I'm building my first app using Google App Engine and have hit a problem straight off: My images and css are not loading with the error: Failed to load resource: the server responded with a status of 404 (Not Found). I have done all I can think of…
0
votes
0 answers

app.yaml configuration for php-generated ajax response

I’m new to google app engine and I’m trying to configure my app.yaml file for a web application which utilizes php and ajax. I’ve got the application running in the PHP SDK using the following yaml file: application: foobar version: 1 runtime:…
user2468499
  • 105
  • 5
0
votes
1 answer

AJAX is returning string of contents of PHP file on google cloud

If I run this function on another server, the php file actually runs and returns data. When I run this code in a javascript file on google cloud server, I get a string containing the contents of the php file. Is something wrong with my yaml file or…
Stagleton
  • 1,060
  • 3
  • 11
  • 33
0
votes
1 answer

GAE PHP App only displays index / homepage

On the homepage index.htm page there is a link to a signUp.htm page, the link isn't working. I believe it's a YAML issue: handlers: - url: /images static_dir: images - url: /.* script: index.htm
Enio
  • 3
  • 3
0
votes
1 answer

backbone router not working without # in the URL

I am using backbone layoutmanager, handlebars and requirejs for my application with HtML5 and its a single page application. I am using backbone.history.start({ pushState:true }) which is helping in getting rid of # if I type URL as…
0
votes
2 answers

App Engine app.yaml - limit handlers to dev server only

Is there any way to limit handlers to the development server only (in App Engine)? My scenario: In dev, I have my js and css split into many files, and it's easy to debug and watch the flow like this. I have a small script which compiles these…
Yaron
  • 1,753
  • 2
  • 17
  • 20
0
votes
1 answer

Google App Engine Python, stylesheet doesn't load

I have an HTML page that gets written by Python onto my appspot domain. However, my stylesheet doesn't load! In the dev console, there are no errors, and when I check the resources tab, the stylesheet is not there. HTML Link:
Carpetfizz
  • 7,466
  • 18
  • 64
  • 121
0
votes
1 answer

GAE PHP app.yaml login redirect to preserve URL

I have a app.yaml file setting as below - url: /page.php script: lex/page.php login: required Now I have a DNS redirect setup such that website.com/page.php loads app.appspot.com/page.php ProxyPass /page.php…
0
votes
0 answers

Static_dir working locally on Development sever not in Production - PHP GAE 1.8.2

I am getting the following error from the logs in the production server on PHP version of GAE Static file referenced by handler not found: stylesheets/IT%20Issue/style.css Static file referenced by handler not found:…
0
votes
3 answers

How to reference nested requires in app.yaml for App Engine PHP

I have a index.php with a require 'myfolder/folder/lib1.php'; So in app.yaml I reference: - url: /myfolder/folder/lib1.php script: myfolder/folder/lib1.php but this lib1.php does another require 'lib2.php'; at same folder level…
Veilkrand
  • 315
  • 3
  • 16
0
votes
1 answer

What entries to add to app.yaml to handle expiration of files of a GWT client app?

Google give the following example of setting up an Apache server to serve a GWT app. What is the equivalent entries to an AppEngine (GAE) app.yaml file? ExpiresActive on ExpiresDefault "now" Header merge Cache-Control…
Carl
  • 2,696
  • 1
  • 28
  • 44
0
votes
1 answer

Why is GAE dev_appserver only setting ETag, but not Expires HTTP header?

File & Folder Structure I have the following directory structure. [app_root] | |---[static] | |--- [css] |--- [img] |--- [js] |--- [app] |--- [libs] |--- main.js |--- require.js App.yaml The…
stun
  • 1,606
  • 3
  • 16
  • 23
0
votes
1 answer

Python script handler for Google AppEngine

I am writing an app engine application to fetch url content using urlfetch available in google app engine. however in the app.yaml file, I have a doubt in script handle I have found that some people use script name as myScript.py while some…
Prashant Singh
  • 3,595
  • 12
  • 56
  • 105
1 2 3
20
21