Hi,
I'm trying to setup pylons with apache2 mod_python. It "works" in
principle in that it shows me the default start page. However, as soon
as I enter any url other than the root, I get this error:
A server error occurred. Please contact the administrator.
There is nothing in the apache logs; because of some reasons I don't
get a mail with an error description; nothing is logged to the file
which should capture everything that is logged.
This is my apache config I took from the wiki (http://
wiki.pylonshq.com/display/pylonscookbook/Production+deployment+using
+mod_python):
<Location "/">
SetHandler python-program
PythonHandler paste.modpython
PythonDebug On
PythonPath "['/path/to/my/project'] + sys.path"
PythonOption paste.ini /path/to/my/project/production.ini
</Location>
It seems to be correct, because if I change something (like the
paste.ini path) I get an error about it. I also tried the other
options from the wiki page with mod_python as handler and the wsgi
bridge, but those gave me "500 Internal Server Error".
How can I find out more about what's wrong with my installation? Using
"paste serve production.ini" works perfectly, but I need to use
apache.
Thanks
Tim
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.