2008/12/19 Frédéric Sidler <[email protected]>:
> I changed the log to
>
> LogLevel info
>
> And here is the access.log of apache
>
> [Thu Dec 18 09:42:22 2008] [info] [client 85.3.167.169] mod_wsgi (pid=12041,
> process='mixint', application='mixint'): Loading WSGI script
> '/home/mixint/webapps/django/mixin/_lib/deploy/mixin.wsgi'.
>
> And process and application are mixint like in the apache configuration file
> that is below.

Not quite.

> WSGIImportScript /home/mixint/webapps/django/mixin/_lib/deploy/mixin.wsgi
> process-group=mixint application-group=%{GLOBAL}

Here application-group is %{GLOBAL}

> NameVirtualHost *
> <VirtualHost *>
>         ServerAdmin webmas...@localhost
>
>         DocumentRoot /home/mixint/webapps/django/mixin/
>         <Directory />
>                 Options FollowSymLinks
>                 AllowOverride None
>         </Directory>
>
>         ErrorLog /var/log/apache2/error.log
>
>         # Possible values include: debug, info, notice, warn, error, crit,
>         # alert, emerg.
>         LogLevel info
>
>         CustomLog /var/log/apache2/access.log combined
>         ServerSignature On
>
>         Alias /media/
> "/usr/lib/python2.5/site-packages/django/contrib/admin/media/"
>         <Directory
> "/usr/lib/python2.5/site-packages/django/contrib/admin/media">
>                 Order allow,deny
>                 Options Indexes
>                 Allow from all
>                 IndexOptions FancyIndexing
>         </Directory>
>
>         SetEnv USER mixint
>         SetEnv DJANGO_SETTINGS_MODULE mixin.settings
>         WSGIApplicationGroup %{GLOBAL}

Is %{GLOBAL} again.

>         WSGIDaemonProcess mixint user=mixint group=mixin
>         WSGIProcessGroup mixint
>         WSGIScriptAlias /
> "/home/mixint/webapps/django/mixin/_lib/deploy/mixin.wsgi"
>
>         <Location />
>                 WSGIProcessGroup mixint
>                 WSGIApplicationGroup mixint

But then you went and did this, which overrides previous entry as in
more constrained context.

>                 Order Allow,Deny
>                 Allow from all
>         </Location>

Delete this whole <Location> container and the stuff in it. It is also
generally not a good idea to set Order/Allow in a Location block when
meaning to actually expose on certain directories. Should use
Directory block instead.

Graham

> </VirtualHost>

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