Download Latest Version new_anw.tar.gz (23.3 MB)
Email in envelope

Get an email when there's a new version of Ain't No Wiki

Home
Name Modified Size InfoDownloads / Week
new_anw.tar.gz 2011-11-03 23.3 MB
LICENSE 2011-05-28 844 Bytes
README 2011-05-28 2.8 kB
CHANGELOG 2011-05-28 226 Bytes
Totals: 4 Items   23.3 MB 0
Read Me
=======================================

Installation
---------------------------------------
In order to install Ain't No Wiki (ANW) one needs:
- python
- python-django

ANW comes with several redistributed subprojects. In order to get those
running one needs:
- python-imaging

Before you start you have to adjust the settings.py to your needs.

In case you are running ANW via an HTTPS connection you have to add some
rewrite rules to Apache as the uploadify-swf button of django-filebrowser
does not work in a HTTPS connection. An example Apache config file could 
look like this:

Apache config
---------------------------------------

File /etc/apache2/site-enabled/default:
-------------------

NameVirtualHost 192.168.56.101
<VirtualHost *:80>
        ServerAdmin webmaster@hasenkopf2000.net
        ServerName 192.168.56.101
        RewriteEngine On
        RewriteOptions Inherit
        #RewriteRule ^/admin/$ https://192.168.56.101/admin/
        RewriteRule ^/users/(.*) https://192.168.56.101/users/$1
        RewriteCond %{REQUEST_URI}% ^/admin/filebrowser/browse/.*$
        RewriteRule ^/admin/(.*)$ https://192.168.56.101/admin/$1
        RewriteCond %{REQUEST_URI}% !^/admin/filebrowser/.*$
        RewriteRule ^/admin/(.*)$ https://192.168.56.101/admin/$1
        WSGIScriptAlias / /home/andi/aintnowiki/apache/django.wsgi
        Alias /media/ /home/andi/aintnowiki/media/
        Alias /admin_media /usr/local/lib/python2.6/dist-packages/django/contrib/admin/media/
        <Directory "/home/andi/aintnowiki/media">
                Order deny,allow
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log
        LogLevel warn
        CustomLog /var/log/apache2/access.log combined
</VirtualHost>

File /etc/apache2/site-enabled/ssl:
-------------------

NameVirtualHost 192.168.56.101:443
<VirtualHost *:443>
        ServerAdmin webmaster@hasenkopf2000.net
        ServerName 192.168.56.101
        RewriteEngine On
        RewriteCond %{REQUEST_URI}% !^/admin/filebrowser/browse.*$
        RewriteRule ^/admin/filebrowser/(.*)$ http://192.168.56.101/admin/filebrowser/$1
        DocumentRoot /var/www
        WSGIScriptAlias / /home/andi/aintnowiki/apache/django.wsgi
        Alias /media/ /home/andi/aintnowiki/media/
        Alias /admin_media/ /usr/local/lib/python2.6/dist-packages/django/contrib/admin/media/
        <Directory /home/andi/aintnowiki/media>
                Order deny,allow
                allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log
        LogLevel warn
        CustomLog /var/log/apache2/ssl_access.log combined

        SSLEngine on
        SSLCertificateFile    /home/andi/aintnowiki/apache/server.pem
</VirtualHost>
Source: README, updated 2011-05-28