install karrigell ubuntu 12.04

59 views
Skip to first unread message

Rastapapopoulos Rasta

unread,
Dec 2, 2013, 1:34:25 PM12/2/13
to karr...@googlegroups.com
Hi !

I search on internet many tutorial, but i don't find what i want.

I install apache2 , with mod_python . ( i have "warn" on the log apache2 "mod_wsgi: Compiled for Python/2.7.2+.
[warn] mod_wsgi: Runtime using Python/2.7.3.
"


I use karrigell 3.1.1 it's ok ( create a db ..)

When i use karrigell apache 3.1.1  is don't work , i to do some mistakes in my configuration ..

my /etc/apache2/sites-enabled/000-default :


DocumentRoot /var/www
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews ExecCGI
        AllowOverride All
        Order allow,deny
        allow from all
                </Directory>
             #    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        WSGIScriptAlias / /var/www/karrigell/karrigell/apache/mod_wsgi/wsgi.py
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>
          
      #    ScriptAlias / /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log

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

    CustomLog ${APACHE_LOG_DIR}/access.log combined

     Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
            </Directory>


my /etc/apache2/httpd.conf

#ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/var/www/cgi-bin/">
AddHandler cgi-script .cgi .py
AllowOverride All
Options +Indexes FollowSymLinks +ExecCGI
Order allow,deny
Allow from all
LoadModule python_module /usr/lib/apache2/modules/mod_python.so
LoadModule python_module /var/www/karrigell/karrigell/apache/mod_wsgi/wsgi.py
</Directory>

Where is the error ?




Reply all
Reply to author
Forward
0 new messages