On 13 May 2011 10:00, Chuck <[email protected]> wrote:
> I'm sorry if this is a pain to answer this question because it
> probably is the "stock" newbie whine.
>
> I'm getting the ubiquitous Invalid command 'WSGIScriptAlias', perhaps
> misspelled or defined by a module not included in the server
> configuration

Ubiquitous is probably not the right word as this doesn't come up often.

In short, it means that the line:

  LoadModule wsgi_module modules/mod_wsgi.so

(where the path argument may be different for your installation), has
been added to Apache configuration, or if it is in a Apache
configuration file snippet file for the module, eg., wsgi.load, that
that module hasn't been enabled using the appropriate distributions
script for enabling Apache modules.

So, can you find a LoadModule line for wsgi_module anywhere in your
Apache configuration files?

Graham

> when i try to boot up the Apache server.
>
> I have already tried some of the recommendations in the installation
> help files.
>
> I'm willing to do what it takes to get this to work...
>
> Some background info:
>
> -- Django 1.2.5 (SUSE repo install)
> -- Python 2.6 (SUSE repo install)
> -- Server version: Apache/2.2.15 (Linux/SUSE)
> -- mod_wsgi 3.3.17 (SUSE repo install) installed this in my /usr/lib64/
> apache2/mod_wsgi.so
>
> I tried to configure this according to the book Beginning Django E-
> commerce.  The author suggested you create a virtual host, which I
> did.  In SUSE you create a virtual host configuration file at/etc/
> apache2/v.hosts.d. It's pointing to where my Django project is
> located.  Within my Django project I have an apache folder in which I
> have placed a django.wsgi file.  I've not changed anything in my
> httpd.conf.
>
> /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)
>
> Questions:
> 1) should I have created mod_wsgi from source?
> 2) should I be fooling around with a virtual host?
>
> I'm willing to provide any other information needed.
>
> --
> 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.
>
>

-- 
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