Hi,

I am trying to install Baruwa by following a guide 
(http://www.howtoforge.com/the-perfect-spamsnake-ubuntu-jeos-10.10-maverick-meerkat-p3).
  The guide talks about using uwsgi and nginx. But I prefer to use apache2, 
however I am unable to get it up and running.

The baruwa documentation points to baruwa-mod_wsgi.conf but I am unable to find 
it in the source and in the .deb package. Neither am I able to find any 
modification made by the installation done by gdebi.

What I did was, install baruwa_1.0.1-1_all.deb and baruwa-doc_1.0.1-1_all.deb 
and followed the instructions. I also installed libapache2-mod-wsgi by using 
apt-get. After that I created a virtual host on apache2 using the following 
file:

<VirtualHost *:80>=
ServerName spam.xxx.local
ServerAlias spam
        DocumentRoot /usr/share/pyshared/baruwa

        <Directory />
        Options Indexes FollowSymLinks MultiViews ExecCGI

        AddHandler cgi-script .cgi
        AddHandler wsgi-script .wsgi

   Order deny,allow
   Deny from all
   allow from 192.168.x.x

        </Directory>
        <Directory /usr/share/pyshared/baruwa/>
        Options Indexes FollowSymLinks MultiViews ExecCGI

        AddHandler cgi-script .cgi
        AddHandler wsgi-script .wsgi

   Order deny,allow
   Deny from all
   allow from 192.168.x.x


        </Directory>
        ErrorLog /var/log/apache2/error-spam.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access-spam.log combined


</VirtualHost>

When I access the page I see the directory listing and when I click baruwa.wsgi 
I get a redirect to http://spam.xxx.local/accounts/login/?next=/baruwa.wsgi/ 
and that results in a 404 error file not found.

Can anybody help me get baruwa up and running on Apache2?

Thanks in advance.

With kind regards,
Sander de Rijk

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to