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

  • Home
  • SEARCH
  • 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 4108970
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:43:51+00:00 2026-05-20T21:43:51+00:00

I currently have a python/cherrypy application where the first page served-up is index.html, which

  • 0

I currently have a python/cherrypy application where the first page served-up is index.html, which contains the link <a href="designs.html">read more</a>

When I click on this link cherrypy returns the following traceback:

404 Not Found

The path ‘/designs.html’ was not found.

Traceback (most recent call last):
File “/home/aharrisreid/webapps/cp32/lib/python3.1/cherrypy/_cprequest.py”, line 646, in respond
response.body = self.handler()
File “/home/aharrisreid/webapps/cp32/lib/python3.1/cherrypy/lib/encoding.py”, line 188, in call
self.body = self.oldhandler(*args, **kwargs)
File “/home/aharrisreid/webapps/cp32/lib/python3.1/cherrypy/_cperror.py”, line 387, in call
raise self
cherrypy._cperror.NotFound: (404, “The path ‘/designs.html’ was not found.”)

Because the href attribute is ‘designs.html’ I expect this page to be called directly without calling cherrypy, but somewhere along the line a / prefix has been added to designs.html, hence cherrypy has been invoked to evaluate the root path.

How can I solve this problem, and ensure that only ‘designs.html’ is passed to the page processor?

TIA,
Alan

  • 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-20T21:43:51+00:00Added an answer on May 20, 2026 at 9:43 pm

    Because the href attribute is ‘designs.html’ I expect this page to be called directly without calling cherrypy, but somewhere along the line a / prefix has been added to designs.html, hence cherrypy has been invoked to evaluate the root path.

    I’m not sure what you mean by “directly”–something has to be invoked to evaluate any URL; if not CherryPy, what would you expect would be invoked? There’s no facility for your browser to access files on the server without some form of intermediary.

    If you want to serve static files instead of dynamic content using CherryPy, check out the staticfile and staticdir Tools, described at http://docs.cherrypy.org/dev/progguide/files/static.html

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

Sidebar

Related Questions

I currently have a functioning in-house Windows Forms application which extensively uses the DataGridView
I have a python subprocess call which I would like to link up to
I currently have an MS Access application that connects to a PostgreSQL database via
I currently have heavily multi-threaded server application, and I'm shopping around for a good
Currently I have Python 3.1.1 installed on my system, same version on my server
I currently have a Python set of n size where n >= 0. Is
I have a blog written in reStructuredText which I currently have to manually convert
I currently have a bash application that, among other things, uses cURL to upload
I currently have python code that compares two texts using the cosine similarity measure.
I currently have Python 2.6.2 installed on my mac. I am writing a script

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.