Re: Just a note: django web app in django-non-friendly hosting environment
On Sep 19, 3:04 pm, "n00m" <[EMAIL PROTECTED]> wrote: > @Brian Neal > > But I think that all your points are not specific to > django per se. Sorta this. Huh? They were just as specific to django as yours were. > + > Does not "my note" make a question like: > "Where can I see a list of Django-friendly hosts?" > pretty meaningless? No, I was pointing out there may be other issues beyond the ones you encountered. --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: Just a note: django web app in django-non-friendly hosting environment
@Brian Neal But I think that all your points are not specific to django per se. Sorta this. + Does not "my note" make a question like: "Where can I see a list of Django-friendly hosts?" pretty meaningless? PS Btw the syntax "SetHandler mod_python" instead of usual but outdated "SetHandler python-program .py" is a recommendation of mod_python.org itself. --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Re: Just a note: django web app in django-non-friendly hosting environment
On Sep 19, 1:40 pm, "n00m" <[EMAIL PROTECTED]> wrote: > You need no at all to ask the hoster to install Django > on his machine. > Apache (etc) + installed mod_python is quite enough to > get your django app running. > > The django package (and e.g. PIL) can be copied to there > along with your django web dirs, as if it's a part of your > web site/app. > > Example: > > htdocs/ > my_dirs/ > django/ > ... > my_django_app/ > ... > settings.py > urls.py > PIL/ > ... > ... > > LoadModule python_module modules/mod_python.so > > SetHandler mod_python > PythonPath "['htdocs/my_dirs'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE my_django_app.settings > PythonDebug On > That's great that you got it working, but that isn't always the case. Some hosts will not allow you to edit/have your own .htaccess files or edit the main httpd.conf file. In addition, I found that I needed a PYTHON_EGG_CACHE, a directory where apache could write to to extract eggs. Some hosts aren't going to let you have shell access to chmod a directory to allow this. Yes it can be done but you may have to work with your host or purchase your own dedicated hosting. --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---
Just a note: django web app in django-non-friendly hosting environment
You need no at all to ask the hoster to install Django on his machine. Apache (etc) + installed mod_python is quite enough to get your django app running. The django package (and e.g. PIL) can be copied to there along with your django web dirs, as if it's a part of your web site/app. Example: htdocs/ my_dirs/ django/ ... my_django_app/ ... settings.py urls.py PIL/ ... ... LoadModule python_module modules/mod_python.so SetHandler mod_python PythonPath "['htdocs/my_dirs'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE my_django_app.settings PythonDebug On --~--~-~--~~~---~--~~ 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?hl=en -~--~~~~--~~--~--~---