thank you so much

On Apr 23, 8:19 pm, Nick Serra <nickse...@gmail.com> wrote:
> Whenever I use django on my windows box, i use XAMPP, which is a all
> in one installer that gets apache and mysql.
>
> So I:
> - install XAMPP
> - install python
> - svn checkout django in the site-packages folder
> - install mysql bindings for python
> - install python image library
>
> and I think you need to add your python path to the windows paths
>
> hope some of that helps.
>
> On Apr 23, 9:09 am, Anand Agarwal <ananda...@gmail.com> wrote:
>
>
>
>
>
> > You can write a file xyz.wsgi with following content in your application
>
> > import os
> > import sys
>
> > sys.path.append("D:\\workspace\\python\\sspl\\src")
> > sys.path.append("D:\\workspace\\python\\sspl\\src\\ssplsite")
>
> > os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
>
> > import django.core.handlers.wsgi
> > application = django.core.handlers.wsgi.WSGIHandler()
>
> > and in https.conf you need to add following entry
>
> > LoadModule python_module modules/mod_python.so
>
> > and
>
> > WSGIScriptAlias <path to xyz.wsgi >
> > <Directory <path to your application>>
> > Order deny,allow
> > Allow from all
>
> > </Directory>
>
> > I think this should work.
>
> > Regards
> > Anandwww.bootstraptoday.com
>
> > On Fri, Apr 23, 2010 at 4:38 PM, Mehul <mehul7...@gmail.com> wrote:
> > > Hi,
> > > Last two days i am trying to set up django on my window machine.
> > > I had installed
> > > 1>python25.msi on d drive(d:/Python25).
> > > 2>django at location :D:\Python25\Lib\site-packages\django.
> > >  It showing a successful message on IP :http://127.0.0.1:8000/
> > > 3>Apache 2.2
> > > 4>mod_python-3.3.1.win32-py2.5-Apache2.2.exe
>
> > > Up to here its working fine.
>
> > > But i am not able to configure Apache for python
>
> > > I added following lines in httpd.conf file
> > > LoadModule python_module modules/mod_python.so
>
> > > <Location "/testproject">
> > >        SetHandler python-program
> > >        PythonHandler django.core.handlers.modpython
> > >        SetEnv DJANGO_SETTINGS_MODULE testproject.settings
> > >        PythonOption django.root /d:/projects/django/testproject
> > >        PythonDebug On
> > >        PythonPath "['/d:/projects/django/testproject', '/django'] +
> > > sys.path"
> > > </Location>
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Django users" group.
> > > To post to this group, send email to django-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@google
> > >  groups.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-us...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://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-us...@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