Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6842187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:04:08+00:00 2026-05-27T00:04:08+00:00

Here is the file structure : –src —–\app.yaml —–\bl —–\bl\calc.html —–\calc.py —–\Main.py I want

  • 0

Here is the file structure :

--src
-----\app.yaml
-----\bl
-----\bl\calc.html
-----\calc.py
-----\Main.py

I want to get to this address “localhost/bl/calc.html” and here is my yaml file:

 - url: /bl
      static_dir: bl
 - url: /bl/.*
      script: calc.py
  - url: /.*
      script: Main.py

In the Main.py I have this :

   from calc import Calc

    application = webapp.WSGIApplication([
      ('/', MainPage),
      ('/bl/calc', Calc)
    ], debug=True)

But I got just “This webpage is not found” for both http://localhost/bl/calc and http://localhost/bl/calc.html

I got really confused With this YAML file and GAE
I Dont know how to fix it. Should I have same application config in Calc file ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:04:08+00:00Added an answer on May 27, 2026 at 12:04 am

    Directives in app.yaml are evaluated in order, top to bottom. Because you have a static_dir directive for /bl/ before the script handlers for /bl/ and .*, any requests for that path will be satisfied by the static directory, not the script. Decide which you want – static or script – and add only that to app.yaml.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've seen this one-liner perl -lane '$_{$F[0]}+=$F[1]}print$_ $_{$_}for keys%_;{' file here: How can I
I'm reading a js file at here , on the very top of this
I downloaded the swc file from here: http://developer.yahoo.com/maps/flash/flexGettingStarted.html And put it in my flex
I've never seen anything like this. File structure: somefolder/base.php includes/stuff.php includes/constants.php base.php: <?php require(../includes/stuff.php);
Here's a part of my .php file: <html xmlns:fb=http://www.facebook.com/2008/fbml xmlns=http://www.w3.org/1999/xhtml> <head> <meta content=IE=8 http-equiv=X-UA-Compatible>
What is a typical file structure for a web-app? You've got your brouchure websites:
First off here is my file structure Services.Abstraction.Common Services.Abstraction.Claims Services.Abstraction.Clearance In Visiual Studio 2010,
Here's a sample file structure: page.php db.php folder1/subpage.php folder2/fn.php page.php require_once('folder2/fn.php'); folder1/subpage.php require_once('../folder2/fn.php'); folder2/fn.php
Im using a asp.net 4.0 project. My file structure looks like this RootSite  -Web.Config
I don't understand what happens here : use PAR { file => 'foo.par', fallback

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.