I've installed and configured nav on FreeBSD 6.0 using the FreeBSD port and modifying the configs according to Getting Started and the Install doc for RedHat. Haven't written the rewrite yet for https. When I point my browser to http://ip_address, I receive this error:
Mod_python error: "PythonHeaderParserHandler nav.web"
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug)
File "/usr/local/lib/python2.4/site-packages/mod_python/apache.py", line 454, in import_module f, p, d = imp.find_module(parts[i], path)
ImportError: No module named nav
The changes to httpd.conf follow. Any idea what I'm missing?
Dru
---
Listen 192.168.1.117:80 Listen 192.168.1.117:443
< LoadModule unique_id_module libexec/apache2/mod_unique_id.so < <IfDefine SSL> < </IfDefine>
LoadModule php4_module libexec/apache2/libphp4.so LoadModule python_module libexec/apache2/mod_python.so ServerName 192.168.1.117:80
< DocumentRoot "/usr/local/www/data"
DocumentRoot "/usr/local/nav/apache/webroot" <Directory "/usr/local/nav/apache/webroot"> Options Indexes FollowSymLinks ExecCGI AllowOverride All PythonPath "['/usr/local/include/python2.4','/usr/local/lib',
'/usr/local/nav/lib/python', '/usr/local/nav/lib/python/nav', '/usr/local/nav/lib/python/nav/web', '/usr/local/lib/python2.4/site- packages/mod_python', '/usr/local/lib/python2.4', '/usr/local/lib/python2.4/site-packages/pygsl']"
AddHandler python-program .py AddHandler cgi-script .cgi SetHandler mod_python PythonHandler apache PythonDebug On DirectoryIndex index.html index.html.var index.py index.cgi SSLProtocol all SSLCipherSuite HIGH:MEDIUM