Hi David,

On 2/27/07, David Abrahams <[EMAIL PROTECTED]> wrote:
>
> I'm running django with Apache/mod_python and serving media through
> lighttpd. I have only one IP address, so lighttpd is running on port
> 8081, but some of my clients are behind firewalls that block ports
> other than 80.
>
> I'm planning to ditch Apache and run everything with lighttpd under
> FastCGI, but I'm not ready to do that just yet just yet, so I'm
> wondering if I can use mod_proxy to make it look like the media is
> being served on port 80.  My guess is that would defeat the purpose of
> having separate servers, but I thought I'd check.
>

Take a look at this page under the section titled "Serving media files"

http://www.djangoproject.com/documentation/modpython/

That way you can also serve your media files from your same Apache instance.

Personally I've been using Lighttpd with FastCGI and it has been
working great. In fact Lighttpd only redirect the traffic to the
Django FastCGI instance, it doesn't have to load any python code
itself so it is very light-weight and very good for serving media
files.

Regards,
Jorge

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

Reply via email to