Lighttpd ("lighty") is a fast open source web server, optimised for speed critical environments
0
votes
0answers
57 views
Which process is using port 80 on a beaglebone? [closed]
I have a beaglebone on which I have configured lighttpd to run. Currently I have it running on port 8080 and it works fine. Except I really want to use it on port 80. Unfortunately it won't start on ...
0
votes
0answers
25 views
Mono FastCGI takes forever to process requests with lighttpd
Alright, for some reason I've decided to try and get ASP.NET working on OpenBSD, because why not? I've settled on lighttpd as I really mucked up nginx bad and they don't ship mod_mono for Apache ...
0
votes
1answer
27 views
epoll timeout configuration in lighttpd
Is there a configuration option to tune epoll timeout in lighttpd? I'm developing an embedded Linux (2.6) device, with lighttpd 1.4.30. And I'm observing the following issue: even when the system is ...
1
vote
1answer
25 views
How to forbid HTTP TRACE in lighttpd
In a recent PCIDSS scan at a client of mine, I got aware of Web Server HTTP Trace/Track Method Support Cross-Site Tracing Vulnerability (CVE-2004-2320, CVE-2007-3008). The proposed mitigation for ...
-1
votes
1answer
40 views
(network.c.379) can't bind to port: 80 Address already in use
I have one server running both apache and lighttpd on two separate IPs. After rebooting the server I can't access the stuff on lighttpd:
/etc/init.d/lighttpd restart
(network.c.379) can't bind to ...
0
votes
1answer
39 views
SSL with authentication without encryption
Is it possible to setup lighttpd server and curl client so that both the client and the server verify each other's self-signed SSL certificate but the file is downloaded without SSL encryption?
How ...
0
votes
0answers
13 views
hi How do I rename all files like wp-admin/index.php? [duplicate]
I need a script like for i in $(locate wp-admin/index.php); do mv $i to something ; done but this doesen't work like this my bash skills are not good enough to complete this ;)
0
votes
2answers
34 views
Lighttpd: htaccess protection does not work
i have tried to setup an htaccess protection of an file from my website.
i have pasted the following code into the 05-auth.conf
$HTTP["url"] =~ "^/www/hosts/domain" {
auth.backend = "htpasswd"
...
0
votes
0answers
23 views
Need Help for Ligthttpd Rewrite
I need to convert this rules in ligthttpd rules:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.+)\~s$
RewriteRule ^(.*) stats.php?u=$1 [L]
RewriteCond %{REQUEST_URI} ^(.+)\~d$
RewriteRule ^(.*) ...
0
votes
1answer
66 views
PHP processes keep overwhelming my server, eating up the CPU and making it lock up :(
I have a Debian Squeeze Lighttpd server with PHP and MySQL, and also with XCache and Varnish set up.
I am quite new to this, but have tried as hard as I can to resolve this problem with no success.
...
0
votes
1answer
33 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 = (
...
0
votes
0answers
26 views
VHosts in lighttpd on the specific port
I'm looking for solution of my specific problem, which is obvious, but not for me and Google. I'm switching from Lighttpd from Apache.
I want simple vhost(or not) configuration like:
/srv/something ...
0
votes
1answer
34 views
lighttpd server-status blank host and uri
Looking at the server-status on lighttpd, running behind a AWS load balancer, I'm seeing some long-lived (up to around 60 seconds) requests, in a "read" state with a blank host and blank URI. What ...
0
votes
0answers
47 views
Cannot Execute CGI Scripts With Lighttpd, Keep Getting 403
When someone requests http://www.mydomain.com/ I want to run a script called index.pl. I have put it in my root directory (/var/www) and I get 403 errors. I put it in the default /usr/lib/cgi-bin ...
0
votes
0answers
38 views
what is simplier to deploy as reverse proxy server: nginx, lighthttpd or mongrel? [closed]
I have node.js (storage) and ruby (RoR, backend) applications, and I want them running behind a reverse proxy. What is the simpliest solution for it (I have not enough time now to fight with the ...
0
votes
1answer
60 views
Lighttpd fails with 403 - Forbidden with SELinux enabled
I've setup a CentOS 6.3 box with lighttpd, php-fpm and I can server both static files and PHP files with SELinux enabled if I leave the lighttpd home directory set to the default (/var/www/lighttpd).
...
1
vote
0answers
34 views
disable direct file access on lighttpd
I'll be fast:
Is there a way to block direct file access to files/images on my /var/www? So for example:
If I am loading the page example.com/info.php that contains the image hello.jpg, can I block ...
0
votes
0answers
35 views
LightHTTPD - Software caused connection abort
I have a local LightTPD server running on my windows 7 computer.
I have SSL set up and it works - but every time I request a document from the SSL part of the server I get the following on the ...
1
vote
2answers
62 views
Lighttpd Redirect to SSL results in 301 redirect loop
I am running lighttpd 1.4.31 with ssl support and am having an issue with forcing https on a specific virtualhost. If I disable the redirect line from the following config, it works as expect (http ...
0
votes
0answers
71 views
Configuring Lighttpd for running silex
I'm trying to get the php-microframework Silex up and running with lighty (local installation for debugging) on my ubuntu machine.
The phpinfo() gets processed properly by the webserver.
Here is my ...
1
vote
1answer
63 views
Lighttpd + Node.JS (via ModProxy) - 500 Internal Server Error
At the top of my lighttpd,conf file I have the following
server.modules = (
"mod_access",
"mod_alias",
"mod_compress",
"mod_redirect",
# "mod_rewrite",
"mod_proxy"
)
At the bottom I addded
...
0
votes
2answers
107 views
Lighttpd as tomcat proxy with static content serving
How can I configure Lighttpd to serve static content on specified URL address (eg. www.my-domain.com/static) from specified directory (e.g. /var/www/my-domain/static) ?
Rest of requests must be ...
2
votes
5answers
149 views
What's the most effective way to block incoming HTTP/HTTPS requests from an old domain name?
A own a dedicated CentOS box that uses lighttpd to serve www.newdomain.com. However, the same IP used to host an old domain www.olddomain.com.
The box still gets requests for www.olddomain.com.
...
1
vote
1answer
196 views
Identifying performance bottleneck on a high-end VPS (Apache 2.4 event_mpm/lighttpd/nginx)
I have quite a high-end VPS from vpsblast (their SSD13) - 4 cores, 16gb RAM, 320gb of SSD hard drive space on a 1GigE Internet backbone (virtually uncontested). As near as I can tell it is running ...
-1
votes
2answers
40 views
What is a good approach to install a webserver? [closed]
I wan't to install Lighttpd on my V-Server under Debian.
I'm new to Linux and I wonder if I should install Lighttpd as root or as a new User to avoid security issues?
0
votes
0answers
39 views
Lighttpd and ruby on rails app
I'm under ubuntu and I setup it to run php and postgres, now I need to run a Ruby on rails app. I have already installed all that i need, like ruby, rails, git and so on and created a test app placed ...
1
vote
0answers
69 views
Lighttpd and OpenCart GET requests with mod_rewrite
Our OpenCart is running on Lighttpd and we use mod_rewrite for SEO.
Whenever we have our rewrite rules on, GET requests such as http://www.site.com/dev/?gclid=XXX do not work.
Here are my current ...
0
votes
2answers
48 views
Lighttpd vhost regex
I'm having a problem with my vhosts using regex. When I use the following code, I get a 404 not found:
$HTTP["host"] =~ "(^|\.)example\.com$" {
...
}
However, when I explicitly set it to the ...
0
votes
1answer
61 views
lighttpd redirect/ rewrite
I am trying to setup a redirect/rewrite so that the urls end with / (trailing slash) (for making seo friendly).
However there are other internal rewrites, which are not shown in the browser address ...
0
votes
1answer
33 views
lighthttpd proxy rules to allow for snap-shot testing and amazon monitoring
I use this rule for my proxy:
$HTTP["host"] =~ ".*" {
proxy.balance = "round-robin" proxy.server = ( "/" =>
( ( "host" => "127.0.0.1", "port" => 9000 ) ) )
}
Because I'm ...
3
votes
1answer
36 views
lighttpd logs clogging hd
I have a php website running on lighttpd. I have around 15 to 30k visits daily. Now, in my PHP code, I have a lot of warnings generated by undeclared $_GET or $_POST variables.
Obviously these are ...
2
votes
1answer
125 views
Lighttpd / PHP-CGI will crash without warning
I'm using Lighttpd / PHP-CGI on a Windows XP machine.
I was using the normal CGI interface which is very stable, but I tried FastCGI and I love the speed boost. However, even under light load, the ...
1
vote
0answers
63 views
Can lighttpd be configured to spawn it's own instances of PHP on Windows7?
Currently, this is how I start PHP and lighttpd and it works fine:
start /b php-cgi -c .\php-debug.ini -b 127.0.0.1:521
start /b LightTPD.exe
Once and awhile PHP crashes and I get 503 errors ...
1
vote
1answer
60 views
Configure mod_rewritte for two hosts in Lighttpd
I have a problem configuring mod_rewrite in two hosts with Lighttpd.
I have one which is a newer version of the old. The old doesn't use mod_rewrite, while the new one does. However, the problem is ...
0
votes
2answers
143 views
lighttpd: backend is overloaded
I have a high traffic site I'm trying to maintain, but from time to time at spikes get stuck with:
(mod_fastcgi.c.2900) backend is overloaded; we'll disable it for 2 seconds and send the request to ...
1
vote
1answer
112 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
...
0
votes
2answers
68 views
Multiple SSL based IPs on lighttpd
I have lighttpd as web server and on it I have installed IP-based SSL certificates.
I want to have a way to have multiple SSL certificates on each new IP that the server may get.
For example, at the ...
0
votes
1answer
116 views
How to return 410 with lighttpd
I have a subdomain with service I am going to kill.
I'd like to use 410 to mark it as such.
Is there a way to do that with lighttpd without resolving to mod_magnet and lua scripts?
0
votes
1answer
176 views
lighttpd virtual hosting configuration
I need help setting up virtual hosting in lighttpd.
i have the lighttpd default webpage in /var/www/lighttpd dir and i have created other dirs for my other websites /var/www/web1.com/public_html and ...
2
votes
1answer
57 views
Lighttpd QUERY_STRING escape properly
Problem is to escape query string in Lighttpd:
This is url:
domain/publisher/adframe-34.html?tag=xzzx&gg=yy&uu=121
and this is lighty rule:
adframe-([1-9][0-9]*)\.html\?(.*)" => ...
0
votes
1answer
255 views
How to combine Lighttpd simple_vhost with www to non-www redirects?
I've set a simple virtual hosting using Lighttpd simple_vhost module and want to do a permanent 301 redirect from www to non-www.
Here are most significant parts of my configuration file:
...
0
votes
1answer
98 views
lighttpd: weird behavior on multiple rewrite rule matches
I have a 20-rewrite.conf for my php application looking like this:
$HTTP["host"] =~ "www.mydomain.com" {
url.rewrite-once += (
"^/(img|css)/.*" => "$0",
".*" => ...
0
votes
1answer
93 views
mod_access for lighttpd causes a 403 error for all POST requests
I have found on my debian server that running the lighttpd module mod_access is causing the server to response with a 403 to all POST requests.
It's very odd as I have two servers, one is running as ...
1
vote
1answer
114 views
mono 3.0.2 + xsp + lighttpd delivers empty page
I needed MVC 4 (and basic .NET 4.5) support so I downloaded mono 3.0.2 and deployed it on an lighttpd 1.4.28 installation, together with xsp-2.10.2 (was the latest I could find).
After going through ...
2
votes
2answers
132 views
How to optimize Lighttpd to host really small, static image files that do not change over time?
This Lighttpd server will need to very quickly serve different image files (say about 500 requests per second).
Each image file is about 50-70kb and there's only going to be about 1000 or so of them.
...
0
votes
0answers
93 views
How do I rewrite this .htaccess for use with lighttpd? [closed]
My .htaccess file, which I wanna use with lighttpd:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} \..+$
RewriteCond %{REQUEST_URI} ...
0
votes
0answers
23 views
Single authorization lighttpd
I've configured lighttpd to protect files from folder, but I have to put login and pass to every file wchich I want to get to. This part of my configuration file looks like this:
$HTTP["url"] =~ ...
2
votes
0answers
84 views
LighTPD and PHP not working if outside of LightTPD folder
I need to set up a simple web server with PHP on Windows XP that a number of different people will use for local testing.
I'm using LightTPD 1.4.30-4-IPv6-Win32-SSL and PHP 5.2.
So far I've created ...
1
vote
2answers
124 views
FastCGI on lighttpd no data received
I have a simple FastCGI script:
public static void main (String args[]) {
int count = 0;
while(new FCGIInterface().FCGIaccept()>= 0) {
count ++;
...
3
votes
1answer
159 views
redirecting HTTPS requests to http in lighttpd
I have a lighttpd server running which has an SSL certificate installed. I would, due to certain reasons, like to forward all https: //www. requests to http: //www.
My lighttpd code looks like as ...

