Bug 111196 - trying to view mod_python manual returns 500 Internal Server Error
trying to view mod_python manual returns 500 Internal Server Error
Status: CLOSED DUPLICATE of bug 127622
Product: Fedora
Classification: Fedora
Component: mod_python (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
Depends On:
  Show dependency treegraph
Reported: 2003-11-29 12:50 EST by Juha Sahakangas
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 14:00:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
A simple patch to python.conf which solves the problem. (434 bytes, patch)
2003-11-29 12:52 EST, Juha Sahakangas
no flags Details | Diff

  None (edit)
Description Juha Sahakangas 2003-11-29 12:50:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016

Description of problem:
Browsing to http://localhost/manual/mod/mod_python/ returns an Apache
internal server error due to erroneous default configuration.

Default httpd configuration for /var/www/manual puts a type-map
handler for *.html files, allowing multiple language versions of the
actual content.

Mod python documentation however doesn't follow the same scheme and
are instead normal .html files which break the type-map handler and
cause error page to be displayed.

This could fixed by providing the necessary type map files and
renaming actual html pages, but this would be rather pointless since
there aren't versions of these pages in languages other than english.

Perhaps better fix is to just modify the configuration so type maps
are not expected to be found in this subdirectory.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Open location http://localhost/manual/mod/mod_python/ in any web

Actual Results:  Apache internal server error page is displayed.

Expected Results:  Mod_python manual front page is shown.

Additional info:
Comment 1 Juha Sahakangas 2003-11-29 12:52:31 EST
Created attachment 96249 [details]
A simple patch to python.conf which solves the problem.

Overrides the type-map handler with default one for files in directory
Comment 2 Joe Orton 2005-02-01 11:29:45 EST

*** This bug has been marked as a duplicate of 127622 ***
Comment 3 Red Hat Bugzilla 2006-02-21 14:00:13 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.