Lighttpd ("lighty") is a fast open source web server, optimised for speed critical environments
1
vote
2answers
598 views
How to monitor streaming servers
I have had a bunch of Linux based streaming servers that employed lighttpd web server to provide video streaming via port 80.
Recently, our service is very slow. Therefore, I would like to ask if ...
0
votes
1answer
383 views
Lighttpd doesn't read mime-type from files without an extension
I have a folder with images that I need to be lightweight hosted. So I decided to go for lighttpd.
So I read that I had to add the following option in the config file:
mimetype.use-xattr = "enable"
...
1
vote
0answers
89 views
Make Lighttpd treat .CSS files as .PHP files
I want files with a .CSS extension to be treated as PHP, and parsed/executed as if they were .PHP files (in addition to retaining the default behavior of parsing .PHP files as PHP).
Is there an easy ...
1
vote
0answers
241 views
Lighttpd: Subdomains give an 404 Error
Since the last days, all my subdomains doesn't work anymore. I get only an 404 Error/Placeholder page. I have not make any changes on my Lighttpd.conf or on the 10-simple-vhost.conf.
Does have anyone ...
0
votes
3answers
597 views
Why are my long videos longer to start playing than short ones using jwplayer and lighttpd?
I have a video streaming site with the following lighttpd configuration:
server.modules = (
"mod_compress",
"mod_access",
"mod_alias",
"mod_rewrite",
"mod_redirect",
...
6
votes
3answers
3k views
Limit upload file size and redirect user to error page if limit exceeds
Is it possible to redirect user to file file too big page
when POST request size exceeds specified limit?
I am aware about max-request-size option, but it gives just static page that cannot be ...
0
votes
1answer
956 views
Curl POST - 411 Length Required
We have a RestFUL API we build in PHP. If we make the request:
curl -u api-key:api-passphrase https://api.domain.com/v1/product -X POST
We get back:
411 - Length Required
Though if we simply add ...
0
votes
1answer
170 views
lighttpd configuration for virtual host and fastcgi
I am trying to set-up a virtual host configuration so that
requests that go to /cgi-bin/iipsrv.fci are processed by fastcgi
all other requests are processed by a proxy configuration
So far tough, ...
0
votes
1answer
301 views
Multiple protected locations with Nginx
I am trying to secure couple of locations using the basic HTTP authentication that comes with Nginx, but for some reason it won't work.
I have:
website.com/admin (This is accesible by user ADMIN)
...
0
votes
1answer
112 views
Enable SSI for Lighty2Go
Lighty2Go is the portable version of the Lighttpd server. I'm required to use it for a project I am doing.
I need to use SSI (Server Side Includes). I know SSI is old and slow, that is OK for this ...
-2
votes
1answer
411 views
How can I use lighttpd authentication with custom login screen or link login page? [closed]
last time, I could be use mod_auth which user authentication module.
But it is very simple that login check layout is just web broswer dialog...
It is called http-basic-authentication. It is show ...
4
votes
2answers
2k views
keep-alive or not keep-alive
My company is launching a new website with potentially large waves of visitors in very short windows (estimate is around 14k visitors in a 2 minutes window).
So, I'm reviewing our configuration, and ...
2
votes
3answers
1k 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 ...
0
votes
1answer
199 views
lighttpd auth-require on a per host base
Is it possible to use auth.require directives with host entries like the one below?
$HTTP["host"] =~ "db\.example\.com$" {
server.document-root = "/usr/share/phpmyadmin"
server.errorlog = ...
1
vote
2answers
212 views
how to configure Lighttpd to redirect page.cgi to page.php?
We have an older web-enabled device serving an info.cgi web page to a client device. We would like to have that same client device access a newer device without any changes, which runs lighttpd with ...
1
vote
4answers
454 views
Which web server has better rewrite syntax that closely mimics Apache's?
Since most open source projects include mod_rewrite rules to work with Apache I need to be able to convert them to work with lighttpd or nginx. Which web server allows me to convert the rules exactly ...
0
votes
4answers
2k views
Lighttpd Virtual Host Error
gah, I just noticed, the lighttpd config is somehow corrupted. It was literally working fine 3 hours ago.
Starting lighttpd: Undefined config variable: var.home_dir
2010-08-29 17:29:31: ...
2
votes
7answers
4k views
Apache, nginx, or lighttpd?
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.
...
1
vote
2answers
305 views
How to get rid of TCP or lighttpd 4KB buffering on CGI output?
I have a stock lighttpd install on a Amazon Linux AMI running on EC2. The only config changes I did is to enable CGI support.
Then there is a custom CGI tool (written in C) put in /cgi-bin/ that is ...
0
votes
2answers
1k 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 ...
0
votes
1answer
247 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 = (
"^/(.*)" ...
1
vote
1answer
121 views
centos 5.6 switching/migration from apache to lighttpd
i currently run apache 2 with php5.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 recently ...
0
votes
2answers
420 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 ...
2
votes
1answer
554 views
How can I enable http auth in lighttpd for all directories except one?
I am trying to authenticate access to everything in webroot (/) except anything that resides in a particular directory (/directory/) and I've tried both of these options to no avail:
$HTTP["url"] =~ ...
0
votes
1answer
57 views
installing control panel on vps query
Bit of a rookie question here(possibly stupid), something I'm just not fully sure off.
I have recently acquired my first VPS(ubuntu) and am looking to install a control panel(webmin).
I'm just ...
2
votes
2answers
871 views
Webserver logs: “Morfeus F***ing Scanner”
I've just found these accesses in my web server log files:
::ffff:218.38.136.38 109.72.95.175 - [10/Jan/2011:02:54:12 +0100] "GET /user/soapCaller.bs HTTP/1.1" 404 345 "-" "Morfeus Fucking Scanner"
...
0
votes
1answer
210 views
Force www subdomain in lighttpd and preserve path
I would like to setup my lighttpd powered website to redirect users to the www subdomain when browsing the site without the subdomain. I would also like it to preserve the trailing URL and serve the ...
0
votes
1answer
219 views
Lighttpd Rewrite Rules - ignore a directory recursively?
[Asked this on StackOverflow but this might be a better place]
I'm playing around with some new experimental software - and trying to use it on something other than Apache (cause I light lighty). I ...
0
votes
2answers
2k views
When should I go for Varnish / Nginx or Lighttd?
I am fairly new to using any of these servers, so it will really help in knowing what specific features are most optimized of any of these three webservers.
And in what scenarios should I choose one ...
8
votes
2answers
13k views
How to enable error log in lighttpd properly?
I have a Centos 5 system with Lighttpd and fastcgi enabled.
It does log access but does not log errors. I have Internal Server Error 500 and no info in log and when I try to open not -existing file ...
2
votes
2answers
113 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 ...
0
votes
1answer
2k views
Why is Nginx so slow at serving static files with this configuration, and not lighttpd?
We wanted to switch all our servers from lighttpd to nginx but while the Web server migration went fine, the static files server migration was disastrous.
We ended up with up to 10 seconds of latency ...
1
vote
0answers
59 views
How to make lighttpd remap a part of the URL without sending a redirection?
Same than here, but for lighttpd.
I have pictures on a path looking like this:
/0/1/2/3/4/01234/screenshots/1.jpg
The URL to access it looks like this:
/static/0/1/2/3/4/01234/screenshots/1.jpg
...
3
votes
1answer
75 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?
4
votes
1answer
1k views
Where to set “PHP_FCGI_MAX_REQUESTS” (lighttpd)
I want to setup the max requests to keep my system RAM from filling up when there is a memory leak.
But I dont know where it is.
5
votes
1answer
1k views
How to make H264 (.mp4) streaming module to work with lighttpd 1.5
H264 is not working with lighttpd 1.5, but it's ok with 1.4
Any suggestions?
0
votes
2answers
349 views
Lighttpd Virtual Hosts on Windows Server 2008
I've been running Windows Server 2008 very happily on my server for two months now, but only for one domain. Now that I have two sites to host I would like to set up virtual hosts.
I've remove the ...
2
votes
4answers
420 views
Rewrite rules for Drupal Boost with Lighttpd
I have been given the super task of preparing a web site to get hammered....
Or site is drupal based, I have found what could be my answer in the form of Boost. But I can't for the life of me find ...
0
votes
1answer
199 views
Lighttpd Rewrites & Blank page
I have configured some lighttpd rewrites, of which one does not work.
This is the line that does not work as it should and causes a white (blank) page to be thrown:
url.rewrite-once = (
...
...
0
votes
1answer
86 views
How do you set up a server that will proxy traffic based on hostname?
I'm trying to setup a corollary to how google asks people to point their subdomains to ghs.google.com which then presumably directs traffic to the right servers based on hostname.
My setup differs in ...
0
votes
3answers
486 views
PHP 5.3 and Lighttpd?
I currently have a couple of servers, running CentOS: Lighttpd/MySQL/Php5.1.x - because that's the PHP version that installs with Yum. The problem is that 5.1.x is out of date (by a long time) and in ...
0
votes
1answer
571 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 ...
1
vote
1answer
640 views
Covert mod-rewrite to lighttpd for lessn url shortener
I am trying to use lessn, a url shortener by Shaun Inman, on my lighttpd server and he uses a .htaccess file for the redirect. I am not very good with Mod_Rewrite isn the first place otherwise some ...
0
votes
1answer
404 views
PHP-FPM chroot mistake
I'm using lighttpd and php-fpm.
The .php script are processed with with the correct user permission, I see the result on my browser.
At the moment all run correctly if i comment chroot= option on ...
1
vote
1answer
698 views
Lighttpd: htpasswd protection
i would use an htpasswd protection for an folder of my website. I use lighttpd an i have write the following code into the lighttpd.conf
# Limit access to ispgen
auth.backend = "htpasswd"
...
0
votes
1answer
160 views
Drupal + Lighttpd: enabling clean urls (rewriting)
I'm emulating Ubuntu on my mac, and I use it as a server.
I've installed lighttpd + Drupal and the following configuration section requires a domain name in order to make clean urls to work.
Since ...
0
votes
1answer
204 views
configuring lighttpd for large downloads
i run a web site that hosts pages that are just general scripts (php, etc) and mp3 downloads (some of which are fairly large - up to 200mb). i am running lighttpd on the servers on linux (ubuntu 64). ...
0
votes
1answer
145 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 ...
1
vote
1answer
79 views
When restarting ligttpd, how do I get fastcgi php-cgi's to restart
I'm running lighttpd with php5-cgi. Running /etc/init.d/lighttpd restart does not cause the php-cgi processes to restart. Should I just killall them, or is there a more appropriate way to get them to ...
2
votes
2answers
593 views
lighttpd eating all memory and CPU
So my lighttpd was running fine for more than a year. Two days ago I decided to install Wordpress 3.0.1 (PHP was already in use by other tools).
So after some hours of very few hits (i might get 10 ...
