Ok, thank you, will try to handle it))

On Jan 18, 4:52 pm, Tonton <to.ton...@gmail.com> wrote:
> now it is seems to be mod_wsgi
>
> in apache/conf.d/ yoursite.conf
>
>  WSGIScriptAlias / /path/to/your/djangoproject/wsgi_handler.py
>
>        WSGIDaemonProcess djangoproject user=CCC group=CCC processes=5
> threads=1
>        WSGIProcessGroup djangoproject
>
> and had to write an wsgi_handler in djangoproject root where you have
> settings.py like
>
> import sys
> import os
> sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/..')
> os.environ['DJANGO_SETTINGS_MODULE'] = 'Djangoproject.settings'
>
> import django.core.handlers.wsgi
> application = django.core.handlers.wsgi.WSGIHandler()
>
> things to replace DjangoProject by the name of your project !
> / is your web root
> so no other path will work instead  you add an alias for apache
>
> Alias /aOtherPath/ /taget/to/a/OtehrPater/
>
> tonton
>
> On Tue, Jan 18, 2011 at 2:22 PM, ashdesigner <antony.shash...@gmail.com>wrote:
>
> > Hello,
>
> > On my VPS, I've got Apache running on MS Windows Server 2008 R2. What
> > is the best way you suggest to plug in Python to be used in a
> > relatively highly loaded webproject (on Django)? mod_python,
> > fastCGI?... What are advantages and drawbacks, from your real
> > experience? I'm new to both Python and Django, so I would appreciate
> > how-tos as well (particular urls to faqs/docs will do, of course).
>
> > Thanks,
> > Anthony
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.> To post to this group, send email 
> > todjango-us...@googlegroups.com.
> > To unsubscribe from this group, send email 
> > to>django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to