Red Hat Bugzilla – Bug 111196
trying to view mod_python manual returns 500 Internal Server Error
Last modified: 2007-11-30 17:10:34 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
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):
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.
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
*** This bug has been marked as a duplicate of 127622 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.