Thanks a lot. You saved my day :) This magic line fixed the issue.
On Tuesday, July 31, 2012 2:52:58 AM UTC+2, Graham Dumpleton wrote:
>
> Not knowing anything about what packages you are using, I can only
> suggest the normal magic fairy dust. That is to add:
>
> WSGIApplicationGroup %{GLOBAL}
>
> This will force use of the main interpreter within the process and
> avoid a host of issues with third party C extension modules that will
> not work properly in sub interpreters.
>
> If that fails, then read:
>
>
> http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_Crashes_With_GDB
>
>
> http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Extracting_Python_Stack_Traces
>
>
> and use techniques to work out where code is getting stuck.
>
> Graham
>
> On 31 July 2012 08:35, Dominik Grimm <[email protected]> wrote:
> > Hello,
> >
> > I developed a django web-application using celery tasks to distribute
> some
> > computations to different workers. Everything works fine with the django
> > development server.
> > Now I tried to deploy everything using apache and mod_wsgi. I followed
> the
> > tutorial and configured everything. A small hello world django app works
> > fine.
> > Then I tried to deploy my developed application and access it via the
> web.
> > The only thing what happens is, that my browser keeps loading. I do not
> get
> > any errors within my apache log files.
> >
> > Here is my Apache config:
> > ErrorLog ${APACHE_LOG_DIR}/error.log
> > # Possible values include: debug, info, notice, warn, error, crit,
> > # alert, emerg.
> > LogLevel debug
> >
> > CustomLog ${APACHE_LOG_DIR}/access.log combined
> >
> > <VirtualHost 192.124.27.48:80>
> > ServerName my.server.name.removed.com
> > ServerAlias www.my.server.name.removed.com my.server.name
> >
> > DocumentRoot /var/www/mysite
> >
> > WSGIScriptAlias / /var/wsgi-scripts/mysite.wsgi
> >
> > <Directory /var/wsgi-scripts>
> > Order deny,allow
> > Allow from all
> > </Directory>
> >
> > WSGIDaemonProcess my.server.name.removed.com processes=2
> threads=15
> > WSGIProcessGroup my.server.name.removed.com
> >
> > Alias /static/ /var/www/mysite/static
> > Alias /media/ /var/www/mysite/media
> >
> > #<Directory /var/www/easygwa/static>
> > # Order deny,allow
> > # Allow from all
> > #</Directory>
> >
> > #<Directory /var/www/easygwa/media>
> > # Order deny,allow
> > # Allow from all
> > #</Directory>
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "modwsgi" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/modwsgi/-/p4MHGfm-OycJ.
> > 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 view this discussion on the web visit
https://groups.google.com/d/msg/modwsgi/-/oQysCDLLsqAJ.
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.