Thursday, December 31, 2009

Re: Tutorial help

Your code doesn't belong in any directory being served by webserver at
all. If your
hosting arrangement requires that, then it's the wrong hosting
environment. In order of
preference django should be running:

under mod_wsgi
under mod_python
as the development server with the front end acting as proxy server

None of these require the code to live in a web accessible directory.
Your static files,
however, like css, js, static html, images, etc. probably should be
served by the front
end without django's help.

On Thu, Dec 31, 2009 at 12:03 PM, Tim Goddard
<timgoddardsemail@gmail.com> wrote:
> After more testing:
>
> Can I restrict access to the code by using an .htaccess file or is
> that not safe enough?
>
> --
>
> 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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate