Using ubuntu 10.04 and python 2.6.5 after issues with 11.04 and python
2.7.1.
I'm not sure how I should be configuring my apache conf files to get
this going. I've tried the one @
http://code.google.com/p/openipam/wiki/Deployment
and get a login screen. But after entering a username/pass I would get
an error about connection refused on localhost:8080. I'm wondering if
this was because of the backend not being up? So I tried instead to
add VirtualHost entries following
http://code.google.com/p/openipam/wiki/Installation#apache_+_mod_wsgi
but am not sure if I am doing it correctly:
Listen 8080
<VirtualHost
127.0.0.1:80>
# For the web frontend, we use https://...:443
Alias /images/ /usr/local/openipam/openIPAM/openipam/web/media/
images/
Alias /styles/ /usr/local/openipam/openIPAM/openipam/web/media/
styles/
Alias /scripts/ /usr/local/openipam/openIPAM/openipam/web/
media/scripts/
Alias /yaml/ /usr/local/openipam/openIPAM/openipam/web/media/
styles/yaml/
# Be sure the user you choose here exists and has read access
to
# $OPENIPAM_HOME and read/write to the necessary directories
listed
# in the config (default locations are /var/log/openipam and
# /var/lib/openipam/*
WSGIDaemonProcess openipam_web user=openipam processes=2
threads=15 python-path=/usr/local/openipam/openIPAM display-name=%
{GROUP}
WSGIProcessGroup openipam_web
WSGIScriptAlias / /usr/local/openipam/openIPAM/scripts/wsgi/
openipam.wsgi
</VirtualHost>
<VirtualHost
127.0.0.1:8080>
# For the backend, we use https://...:8443
WSGIDaemonProcess
ssl.xmlrpc.ipam.usu.edu user=openipam
processes=2 threads=6 python-path=/usr/local/openipam/openIPAM display-
name=%{GROUP}
WSGIProcessGroup
ssl.xmlrpc.ipam.usu.edu
WSGIScriptAlias /api /usr/local/openipam/openIPAM/scripts/wsgi/
openipamd.wsgi
</VirtualHost>
Using this configuration I can get a login screen also, but when I try
to login it hangs ... probably because 8080 is now listening, but not
doing what 8080 is expected to be doing.
I'm basically trying to just check this out, so I'm not currently
worried about SSL. This is in a VM running everything locally. I
would then access the site from the same VM. If more information is
needed please let me know.
Thanks,
Jake