On Ubuntu don't put anything in your httpd.conf or apache2.conf files.
Ubuntu does thing differently. Make a file called mod_wsgi.load and do
the following:

Assuming you are in root and you have already installed mod_wsgi.

# cd /etc/apache2/mods-available/
# nano mod_wsgi.load

With this single line in it.

LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so

Then:

# cd /etc/apache2/mods-enabled/
# ln -s ../mods-available/mod_wsgi.load
# service apache2 restart

Done

~Carl

On Tue, Aug 31, 2010 at 9:09 AM, V <[email protected]> wrote:
> Hi,
>
> I successfully installed mod_wsgi on Ubuntu and am having some issues
> with configuration. I have added the line "LoadModule wsgi-module /usr/
> lib/apache2/modules/mod_wsgi.so" into /etc/apache2/httpd.conf. When I
> restart the Apache server using /etc/init.d/apache2 stop and /etc/
> init.d/apache2 start, I get this message:
>
>  * Starting web server apache2
> [Tue Aug 31 12:58:33 2010] [warn] module wsgi_module is already
> loaded, skipping
> apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Syntax
> error on line 3 of /etc/apache2/httpd.conf: Can't locate API module
> structure `wsgi-module' in file /usr/lib/apache2/modules/mod_wsgi.so: /
> usr/lib/apache2/modules/mod_wsgi.so: undefined symbol: wsgi-module
>   ...fail!
>
> How can I make sure "symbol: wsgi-module" is defined? Any suggestions
> would be greatly appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>



-- 
-------------------------------------------------------------------------------
Carl J. Nobile (Software Engineer)
[email protected]
-------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to