Re: django apache on windows setting problem

2009-05-07 Thread zayatzz

Several people answered to your question here:
http://groups.google.com/group/django-users/browse_thread/thread/2f98dfb324b86747/884e9a5477deb6ca?q=#884e9a5477deb6ca

Alan

On May 8, 7:54 am, online  wrote:
> forgot to mention the error message:
>
> ---
> ImportError: Settings cannot be imported, because environment variable
> DJANGO_SETTINGS_MODULE is undefined
>
> ---
>
> On May 7, 9:49 pm, online  wrote:
>
> > django is realy cool. But it is so frustrated to get django work on my
> > windows machine.
>
> > here is my setting/configures
>
> > python setting at httpd.conf:
> > --
>
> > 
> >     Options Indexes FollowSymLinks MultiViews
> >     AllowOverride All
> >     Order allow,deny
> >     allow from all
> >     AddHandler python-program .py
> >     PythonHandler mod_python.publisher
> >     PythonPath "['C:/Python25/Lib/site-packages/mod_python/',]
> > +sys.path"
> >     PythonDebug On
> > 
> > --
>
> > django setting at vhosts.conf:
>
> > -
> >         
> >     ServerAdmin webmas...@dummy-host2.li
> >     DocumentRoot "C:/depot/projects/web/"
> >     ServerName web
> >     ServerAlias *.web
> >     ErrorLog "logs/dummy-host2.li-error_log"
> >     CustomLog "logs/dummy-host2.li-access_log" common
>
> > 
> >     SetHandler python-program
> >     PythonHandler django.core.handlers.modpython
> >     PythonOption django.root "C:/depot/projects/web/"
> >     SetEnv DJANGO_SETTINGS_MODULE web.settings
> >     PythonPath "['C:/depot/projects/web/'] + sys.path"
> >     PythonDebug On
> > 
>
> >   
> >     SetHandler None
> >   
>
> >   
> >     SetHandler None
> >   
>
> > 
> > -
> > or you can see from this link:
>
> >http://stackoverflow.com/questions/823458/django-apache-on-windows-se...
>
> > Any help is much appreciated!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: django apache on windows setting problem

2009-05-07 Thread online

forgot to mention the error message:

---
ImportError: Settings cannot be imported, because environment variable
DJANGO_SETTINGS_MODULE is undefined

---


On May 7, 9:49 pm, online  wrote:
> django is realy cool. But it is so frustrated to get django work on my
> windows machine.
>
> here is my setting/configures
>
> python setting at httpd.conf:
> --
>
> 
>     Options Indexes FollowSymLinks MultiViews
>     AllowOverride All
>     Order allow,deny
>     allow from all
>     AddHandler python-program .py
>     PythonHandler mod_python.publisher
>     PythonPath "['C:/Python25/Lib/site-packages/mod_python/',]
> +sys.path"
>     PythonDebug On
> 
> --
>
> django setting at vhosts.conf:
>
> -
>         
>     ServerAdmin webmas...@dummy-host2.li
>     DocumentRoot "C:/depot/projects/web/"
>     ServerName web
>     ServerAlias *.web
>     ErrorLog "logs/dummy-host2.li-error_log"
>     CustomLog "logs/dummy-host2.li-access_log" common
>
> 
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     PythonOption django.root "C:/depot/projects/web/"
>     SetEnv DJANGO_SETTINGS_MODULE web.settings
>     PythonPath "['C:/depot/projects/web/'] + sys.path"
>     PythonDebug On
> 
>
>   
>     SetHandler None
>   
>
>   
>     SetHandler None
>   
>
> 
> -
> or you can see from this link:
>
> http://stackoverflow.com/questions/823458/django-apache-on-windows-se...
>
> Any help is much appreciated!
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



django apache on windows setting problem

2009-05-07 Thread online

django is realy cool. But it is so frustrated to get django work on my
windows machine.

here is my setting/configures

python setting at httpd.conf:
--


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
AddHandler python-program .py
PythonHandler mod_python.publisher
PythonPath "['C:/Python25/Lib/site-packages/mod_python/',]
+sys.path"
PythonDebug On

--

django setting at vhosts.conf:

-

ServerAdmin webmas...@dummy-host2.li
DocumentRoot "C:/depot/projects/web/"
ServerName web
ServerAlias *.web
ErrorLog "logs/dummy-host2.li-error_log"
CustomLog "logs/dummy-host2.li-access_log" common



SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonOption django.root "C:/depot/projects/web/"
SetEnv DJANGO_SETTINGS_MODULE web.settings
PythonPath "['C:/depot/projects/web/'] + sys.path"
PythonDebug On


  
SetHandler None
  

  
SetHandler None
  


-
or you can see from this link:

http://stackoverflow.com/questions/823458/django-apache-on-windows-setting-problem


Any help is much appreciated!



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