By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,979 Members | 951 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,979 IT Pros & Developers. It's quick & easy.

mod_python mime type question

P: n/a

I have a little mime-type problem running python with apache using
I'm on a Debian unstable system with Apache v1.3.31 and mod_python

I installed mod_python the debian way, checked that
LoadModule python_module /usr/lib/apache/1.3/

is in the modules.conf file, added the "AddHandler python-program .py" line
and set up an example as in the www-documentation.

When browsing to .../ Mozilla pops up with "Don't know how to
handle text/x-python mime type". Changing this in mime.types to "text/html"
everything works fine.
Also the documentation sets the mime type to text/x-python.

Now, which setting is wrong?


Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.