All Questions
11
questions
0
votes
1
answer
708
views
Redirect with lighttpd and fastcgi on Django App
I have setup my lighttpd in a fashion which redirects all subdomains to my primary domain in following fashion * .domain.com -> domain.com. Unfortunately when i type in a subdomain such as www.domain....
0
votes
1
answer
2k
views
Redirect all subdomains to main domain with lighttpd and regex
Is it possible to redirect all *.domain.com to my domain.com?
I have been messing around with the Regex but without any luck:
$HTTP["host"] =~ ".*\.domain\.com" {
url.redirect = ("^/(.*)"...
1
vote
0
answers
221
views
Deploy multiple django instances on one Host
I am trying to setup multiple Django instances on one Host with lighttpd. My problem is to get Djangos FCGI working on subdirectories served by my Webserver.
So my aim is the following:
www.myhost....
1
vote
2
answers
741
views
Serving static web files off a non-standard port
I'm close to deploying a Django project to production. I'm looking over some infrastructure decisions. Something that came up was serving static files with a different server such as lighttpd.
...
1
vote
1
answer
551
views
Lighttpd redirect from www.domain.com to domain.com
I need to permanently redirect all www.domain.com to domain.com in Lighttpd.
Here's relevant part of my lighttpd.conf:
$HTTP["host"] =~ "^www\.domain\.com$" {
url.redirect = (
"^/(.*)" =&...
0
votes
1
answer
204
views
lighttpd not reliable
I have a lighttpd running which serves a django-based webservice. It was running well for some months, but from today on, it returns a 410 sometimes, and sometimes fails silently.
To test, I make a ...
21
votes
6
answers
54k
views
Why is Nginx more popular than lighttpd?
I'd like to use Lighttpd in production for serving Django apps but i see that these days Nginx is more and more popular. Why is that? I'm aware that in the past Lighttpd had memory leaks but isn't ...
4
votes
2
answers
3k
views
Better webserver performance for Python Django: Apache mod_wsgi or Lighttpd fastcgi
I am currently running a high-traffic python/django website using Apache and mod_wsgi. I'm hoping that there's a faster webserver configuration out there, and I've heard a fair number of ...
1
vote
1
answer
563
views
lighttpd configuration for running django and legacy website together
I'm planning to migrate an old website to django. Initially, I want to use django for the urls www.mydomain.com/news, and continue to use the old static website for everything else.
I have little ...
0
votes
4
answers
1k
views
Media server and Web server -- same IP address, how do I set this up?
Hi I'm trying to build a website where users can upload images. I am wanting to have a seperate media server to host the images, so that the web application can point to the images like
mediaserver....
18
votes
4
answers
21k
views
Which is best for Django? Lighttpd or Nginx? Or maybe something else? [closed]
Which of Lighttpd and Nginx is, basing on your experience, better suited for Django? I've used both and can hardly notice any difference at all, they just work fine... Are there any use cases when one ...