All Questions

Tagged with
Filter by
Sorted by
Tagged with
27 votes
3 answers
15k views

Why are NginX and Lighttpd not affected by Slowloris?

I am investigating the vulnerability to Slowloris and I think I understand how and why this sort of attack works. What I don't understand is why Lighttpd and NginX are not affected (according to the ...
The Shurrican's user avatar
16 votes
1 answer
27k views

Apache MPMs - Worker vs Prefork

I'm trying to figure out what which is the best Apache MPM I can install on my VPS. I saw some benchmarks and MPM Worker seems to perform better than the Prefork one but for some reason everyone seems ...
Alix Axel's user avatar
  • 2,803
6 votes
2 answers
11k views

Is nginx good for dynamic content?

I want an alternative for apache, lighthttpd has memory leaks problems so i can't go for it, i keep reading that nginx is good for static content but is it good for php-mysql dynamic video sharing ...
user's user avatar
  • 869
5 votes
6 answers
10k views

Apache, nginx, or lighttpd? [closed]

I am going to be live blogging from an event and expect huge spikes in traffic. I am currently using apache with modphp and it died last year under heavy traffic and I don't want it to happen again. ...
user avatar
4 votes
1 answer
2k views

Apache starts automatically on Ubuntu, needs to be stopped to restart lighttpd

I've some issues with my webserver's Apache and lighttpd on Ubuntu 9.04. I use lighttpd only and I've stopped Apache on Ubuntu. For some reason, starting a few days ago, Apache starts to run and I ...
aneuryzm's user avatar
  • 1,724
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 ...
BrainCore's user avatar
  • 161
4 votes
2 answers
1k views

lighttpd VS Apache

could you pelase tell me what's the difference (i never heard of lighttpd before) ? pro / cons ? and what would you pick for a website who have to deal with a lot of querys (like 20,000 min per day)...
Tristan's user avatar
  • 498
3 votes
2 answers
690 views

Another benefit of Lighttpd in front of Apache

I have read in a site that another benefit of having Lighttpd in front of Apache is lower number of child processes. Lighttpd will handle keep-alive and client requests while child processes of Apache ...
abednegoyulo's user avatar
3 votes
0 answers
415 views

Lighttpd Proxy -> Apache SVN mod_dav_svn - Stuck via command line but works in browser

I have a confusing problem. I have installed a long time ago Apache 2.4 with mod_dav_svn to be able to access my repos via https urls. It all works fine with Apache only. Now i switched to lighttpd ...
Brain Foo Long's user avatar
2 votes
4 answers
4k views

Apache / Lighttpd for load Balancing

What do you think about lighttpd for AJP load Balancing? I use Apache and mod_jk for this, it works fine. What would be the benefit of switching apache to lighttpd? What software use to load ...
Matthieu's user avatar
  • 443
2 votes
6 answers
32k views

Which apache/mysql/php package is best for windows? [closed]

I have tried appservnetwork, was the best so far, but I haven't seen them do an update in ages, EasyPHP is just slow to load always. Wamp and Xamp, all put in their description that is not for ...
crosenblum's user avatar
2 votes
2 answers
2k views

In an Apache + lighttpd setup, who should be the proxy?

In a setup where you use Apache for PHP / Python scripts and lighttpd for static files, but only one listens on the outside IP address and acts as a proxy to the other listening on the loopback ...
Hanno Fietz's user avatar
  • 1,022
2 votes
2 answers
563 views

How to optimize mysql databse for serving 1000s of requests at a time?

How to optimize MySQL databse for serving 1000s of requests at a time? For a site like: linksnappy.com Is it possible to configure to separate MySQL servers into one load balancing server? So if one ...
user avatar
2 votes
1 answer
357 views

Migrating from Apache to lighttpd?

There are many threads here weighing the various merits of Apache and lighttpd. However, no one has talked about tools for migrating from the former to the latter. Are there good tools for the task? I ...
Paul Hoffman's user avatar
  • 2,224
2 votes
2 answers
192 views

Apache only for certain things, rest lighttpd

right now the script I'm running isn't fully functional with lighttpd, and some processes still need to be run by apache. therfore, i was wondering if anyone could tell me how to use apache to handle ...
Belgin Fish's user avatar
2 votes
2 answers
451 views

What would be better in my case - apache, nginx or lighttpd?

I'm writing a PHP site that's expected to get about 200-300 concurrent users browsing it. When initializing the application will load about 30 PHP classes, some 10 maybe 15 images and a couple of css ...
tftd's user avatar
  • 1,508
2 votes
1 answer
100 views

Webserver vhost configuration in database?

I know it's possible with lighttpd, but is there a way to achieve the same thing with Apache or better yet, nginx?
Matty's user avatar
  • 209
2 votes
3 answers
3k views

View httpd/lighttpd modules that are installed on shared hosting

I don't have access to the httpd.conf file on this shared host, but I wanted to see which modules are enabled/installed. Is there a (easy) way to find out without access to the httpd.conf file? For ...
sdek's user avatar
  • 165
2 votes
2 answers
920 views

Best server for me? Nginx/Apache/LightHttpd

I need to setup my new dedicated server (Intel Atom E220 1.6 Ghz ONE CORE, 2 GB RAM) And my website is not a usual one. It has many concurrent processes(php) that's because some php request take over ...
user avatar
2 votes
2 answers
635 views

Apache2 and Lighttpd on the same machine: how to share php APC?

I have a Debian machine where I use both apache2 (with mod_proxy) and Lighttpd (for a long-polling service and static contents). Both apache and lighttpd run php5, with APC. Lighttp use FastCGI for ...
Strae's user avatar
  • 467
2 votes
3 answers
2k views

Apache2 with lighttpd as proxy

I am using apache2 as web server. I would like to help him lighttpd as a proxy for static content. Unfortunately I can not well set up lighttpd and apache2. (OS: Debian) Important things from ...
user36022's user avatar
1 vote
6 answers
5k views

What are the advantages of lighttpd over Apache [closed]

Youtube use lighttpd rather than the common Apache. What are the advantages of Light vs Apache? Are there other alternatives to Apache?
Alex's user avatar
  • 8,481
1 vote
1 answer
5k views

Reverse Proxy redirection based on hostname

Here's my setup: Windows Server (2003) receives all traffic for *.mydomain.com, which (up to now) redirects all incoming port 80 traffic to a Linux VM (using VMWare virtual network manager). I now ...
Serge Wautier's user avatar
1 vote
2 answers
4k views

what is lighttpd equivalent of RewriteCond %{REQUEST_FILENAME} !-f?

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php This is Zend htaccess, I can't seem to find a lighttpd equivalent of ...
Devrim's user avatar
  • 1,187
1 vote
3 answers
471 views

The Current State Of Serving a PHP 5.x App on the Apache, LightTPD & Nginx Web Servers?

Being stuck in a MS stack architecture/development position for the last year and a half has prevented me from staying on top of the world of open source stack based web server's recent evolution more ...
Gregory Kornblum's user avatar
1 vote
2 answers
3k views

Setting umask 002 for the apache, lighttpd, ... didn't work?

I'm trying to make the files that created by webserver (Apache, lighttpd, ...) can be writable by the ftp users. Adding apache to nobody group and the vise versa. umask 002 for ftp works fine. But the ...
quanta's user avatar
  • 51.5k
1 vote
4 answers
9k views

WebServer Permission problem, Ubuntu & Lighttpd

Just setup lighttpd on Ubuntu 9.04, but struggling with the permissions. The website loads fine, as i am using Fast CGI, however my media (Javascript, CSS, Images) wont load. I enabled the logging ...
user avatar
1 vote
3 answers
533 views

Any experience migrating high-traffic sites from Apache to lighttpd?

I'm in the process of creating a hosted web application that has the potential for huge amounts of traffic. In the past, I've almost always used Apache as a web server, so I have very little ...
Jordan Ryan Moore's user avatar
1 vote
1 answer
642 views

Why does lighttpd or Apache2 proxy change my URL when accessing index.html?

I have a little awkward setup with a Apache 2 webserver being the gatekeeper and proxying traffic based on the incoming domain: <VirtualHost *:80> ServerName example.org RewriteEngine On ...
Marcus Riemer's user avatar
1 vote
1 answer
242 views

Centos 5.6 switching/migration from apache to lighttpd

I'm currently running Apache 2 with PHP 5.1.6 running as mod_php on a Centos 5.6 box. I use .htaccess for mostly redirection. I already have latest APC running apc.so. I also have MySQL, etc. Until ...
Sir Lojik's user avatar
  • 407
1 vote
1 answer
536 views

What is the overhead when redirect through mod_proxy

I have an API that used to run on Apache but now is served via lighttpd. I can easily switch the API URL in the app to the lighty port like api.net:81. I wonder if I should use mod_proxy instead to ...
ivoba's user avatar
  • 113
1 vote
1 answer
680 views

Will using Apache's ProxyPass directive on persistent Ajax connections alleviate the connection limit error?

I've got some javascript that keeps a persistent Ajax connection open for each client, and I know that this can cause some serious issues for apache, but not for lighttpd. One thing I learned from ...
naurus's user avatar
  • 13
1 vote
2 answers
487 views

best http server application as webdav?

what is the best http server to be used as webdav for getting and posting files (big files) to from server? is it apache or lighttpd ? I will use the system as online file storage (for backup) ...
Data-Base's user avatar
  • 185
1 vote
2 answers
851 views

Serve static images from lighttpd and php from apache?

So I have 2 IP Addresses, and running apache on ipaddress #1 (www.server.com). What I was thinking, was pointing static.server.om to ipaddress #2, and running lighthttpd for images and javascript. ...
Kladskull's user avatar
  • 1,255
1 vote
0 answers
259 views

Cannot redirect/proxy from Apache to lighttpd server

I have a home server that is accessible from outside with a static IP and port http://<homeip>:10001. This is a Lighttpd server. I also own a website https://example.com with Apache, I've ...
TheUnexpected's user avatar
1 vote
0 answers
167 views

How to convert RewriteCond rules so they work in Lighttpd?

How can I convert this Apache rewrite rules so they work on Lighttpd? This is in fact a .htaccess file, and I need to put those in a lighttpd.conf file. Options +FollowSymLinks RewriteEngine on ...
user3126896's user avatar
1 vote
0 answers
836 views

Mumble Django via Nginx - config file infinitely loops in rewrite

I am having a bit of problem of configuring Nginx in place of Apache, so that it served Mumble Django to clients. I have vhosts configs for both Apache and Lighttpd - let me put them here side by side,...
Gelmir's user avatar
  • 111
1 vote
2 answers
1k views

Will there be a performance gain by using Apache's mod_proxy to proxy off static file requests to Lighttpd/nginx?

I know there are lot of tutorials out there which suggest the use either nginx or lighttpd on port 80 and proxy dynamic requests to apache running on a different port. I am not ready to take that leap ...
freethinker's user avatar
1 vote
1 answer
148 views

Issue when moving from Apache to Lighttpd

This might not be the right place, but we think its narrowed down to a Lighttpd config issue on our end, just cannot pinpoint. Asked in Virtuemart and Lighttpd forums with no luck. We have a live ...
Brian's user avatar
  • 11
1 vote
1 answer
675 views

How do I setup a lighttpd server to serve all images/js/css files with a main apache server?

I have an apache server on a linux ubuntu server. I would like to configure a lighttpd server to serve all the static content.
Doron's user avatar
  • 553
0 votes
1 answer
661 views

An Amazon EC2 "Micro" (smallest) linux instance can reliably serve a dynamic website to how many users?

How "large" of a website can one reliably host on Amazon EC2's micro instance? Running apache, nginx, lighty, I don't care. Just curious how far that $5.20/month would get you and why I should or ...
darkAsPitch's user avatar
  • 1,931
0 votes
4 answers
4k views

Ubuntu 10.04 + Lighttpd. can't bind to port: :: 80 Address already in use

I've had a machine running Ubuntu 9.10, with lighttpd and PHP. After the OS update to Ubuntu 10.04, it installed apache2 automatically for some reason (I believe it is due to some dependencies php -> ...
migajek's user avatar
  • 171
0 votes
3 answers
93 views

Architecting a web server hosting mixed small and large (100MB+) static content [closed]

I have the challenge of hosting about 200-1000 mp3 files, all in the 100MB+ size range. Furthermore, there are some smaller RSS files, and some smaller JPG files. All this is static content, no PHP, ...
Carsten's user avatar
0 votes
2 answers
9k views

lighttpd AND apache on the same server?

I've been thinking about running lighttpd for static content, but I'd rather not throw down the couple extra bucks to run the second box. Is it possible (and this is me going out on a limb) to run ...
mattbasta's user avatar
  • 641
0 votes
3 answers
1k views

Can Apache, nginx and lighttpd coexist in a Ubuntu system?

Just for learning and testing, I've installed these three different web servers, I've also installed mysql and php5. I changed the DocumentRoot for each to /var/www/apache, /var/www/nginx and /var/...
diegoaguilar's user avatar
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....
SteveM's user avatar
  • 101
0 votes
1 answer
495 views

Lighttpd mod_rewrite to Apache mod_rewrite

I want to turn this Lighttpd mod_rewrite to apache rewrite code. $HTTP["host"] =~ "^(i\.ylar\.se|puush\.me)$" { server.document-root = "/var/www/servers/i.ylar.se/" url.rewrite-once = ( ...
Ylar's user avatar
  • 3
0 votes
1 answer
3k views

Where is Error Log in lighttpd?

I'm new to lighttpd, I just switched from Apache. How can I find the error log by SSH ? I've been getting some 500 Internal Server errors I want to troubleshoot.
Greatestswordsman's user avatar
0 votes
1 answer
1k views

Why does everybody mentions Apache/NGINX/Lighttpd... but not YAWS [closed]

I see a lot of comparisons between Apache, NGINX, Lighttpd, Cherokee ... but never a comparison with the YAWS webserver written in Erlang. Maybe there is a reason for this? Or maybe YAWS deservers ...
PieterB's user avatar
  • 91
0 votes
2 answers
533 views

How does lighttpd/nginx determine filetype of a file? (which method?)

I want to configure my lighttpd to serve some static files, with compression capability. The files are plain text but they have .bin extension. I have these lines in my lighttpd configuration: ...
Reza Mohammadi's user avatar