Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 604

Show
Ignore:
Timestamp:
09/04/05 15:38:50
Author:
mikerobi
Message:

httperrors: fixed config bug that disabled httperrors, added a tutorial

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/httperrors/cherrypy/_cputil.py

    r602 r604  
    177177    response = cherrypy.response 
    178178     
    179     if not developmentMode and httpErrors and showTracebacks
     179    if not developmentMode and httpErrors
    180180        if response.status == 404: 
    181181            response.status, response.body = httperrors.getErrorPage(404) 
  • branches/httperrors/cherrypy/tutorial/tutorial.conf

    r602 r604  
    33server.threadPool = 10 
    44server.environment = "production" 
    5 server.showTracebacks=True 
    6 server.httpErrors = False 
     5#server.showTracebacks = True 
    76# server.logToScreen = False 

Hosted by WebFaction

Log in as guest/cpguest to create tickets