On 3/11/06, Gacha <[EMAIL PROTECTED]> wrote:
>
> There is all my virtualhost config:
>
> <VirtualHost *:80>
>     DocumentRoot /home/gacha
>     ServerName gacha.id.lv
>     ServerAlias www.gacha.id.lv
>     ServerAdmin [EMAIL PROTECTED]
>
>     <Directory />
>                 AllowOverride All
>                 Options None
>                 Order allow,deny
>                 Allow from all
>     </Directory>
>
>     <Location /dev/poll>
>                 SetHandler mod_python
>                 PythonPath "['/']"

You should set PythonPath as :

"['D:/your_django_project_parent_directory'] + sys.path"

>                 PythonHandler django.core.handlers.modpython
>                 SetEnv DJANGO_SETTINGS_MODULE poll.settings
>                 PythonDebug On
>                 PythonAutoReload On
>     </Location>
> </VirtualHost>


--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to