Results 1 to 2 of 2

Thread: has anyone gotten mod_wsgi working

  1. #1
    Join Date
    Apr 2009
    Annapolis, MD

    Default has anyone gotten mod_wsgi working

    I have installed Python, DJango, Apache, and Mod_WSGI, but I have run into all kinds of issues. Apparently doing this with SUSE is different than other distros.

  2. #2
    Join Date
    Apr 2009
    Annapolis, MD

    Default Re: has anyone gotten mod_wsgi working

    I ended up going on the Google group for mod_wsgi and also found some other answers online. This is what I did. I had to enable the mod_wsgi module in SUSE.

    Doing some research in other posts...I have at least gotten further
    along. I had to figure out a way to include the mod_wsgi module in
    the Apache modules. So I did this:

    Solution – enable mod_wsgi on SuSE linux

    1. Edit the file /etc/sysconfig/apache2 as root:
    1. search for APACHE_MODULES, you should find a line like
    APACHE_MODULES="suexec access actions alias auth auth_dbm
    autoindex cgi dir env expires include log_config mime negotiation
    setenvif userdir ssl php4"
    2. Add wsgi to the content in the list between the “
    3. Save the changes and quit
    2. run SuSEconfig to update the apache configuration files
    3. run /etc/init.d/apache2 restart to restart the Apache server

    Verify that the mod_wsgi module is installed correctly

    /usr/sbin/httpd2 -M
    Loaded Modules:
    core_module (static)
    mpm_prefork_module (static)
    http_module (static)
    so_module (static)
    actions_module (shared)
    alias_module (shared)
    auth_basic_module (shared)
    authn_file_module (shared)
    authz_host_module (shared)
    authz_groupfile_module (shared)
    authz_default_module (shared)
    authz_user_module (shared)
    autoindex_module (shared)
    cgi_module (shared)
    dir_module (shared)
    env_module (shared)
    expires_module (shared)
    include_module (shared)
    log_config_module (shared)
    mime_module (shared)
    negotiation_module (shared)
    setenvif_module (shared)
    ssl_module (shared)
    userdir_module (shared)
    wsgi_module (shared)
    Syntax OK

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts