Questions tagged [lighttpd]

Lighttpd ("lighty") is a fast open source web server, optimised for speed critical environments

Filter by
Sorted by
Tagged with
2 votes
1 answer
2k views

lighttpd server-status

I have enabled lighttpd mod_status as /server-status. When I go to the URL, I get the status page. I am interested in monitoring connections -- most specifically KeepAlive connections to make sure ...
2 votes
1 answer
2k views

Find the source of malware?

I have a server that was running an older version of lighttpd (1.4.19 on a freebsd 6.2-RELEASE (yea, old) machine) and google alerted me that it had found malware embedded on one of my server's pages. ...
1 vote
1 answer
173 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 ...
2 votes
1 answer
3k views

CGI Died, error log [closed]

I've been getting some 500 internal server errors on my website every so often, so I had a look at the error log. I am using lighttpd with Kloxo (lxadmin) installed. I have xcache enabled. 2011-04-...
0 votes
1 answer
709 views

How To Sync Files Across Load Balanced PHP Cluster

I just configured lighttpd web server to pass php-fcgi request to an external application server. The application server is running PHP 5.3 and spawn-fcgi. The problem is that all the web files need ...
1 vote
1 answer
2k views

lighthttpd proxy reverse proxy

I have been looking for good easy to use examples for lighthttpd proxy reverse proxy. My idea is to take domain example.com and forward/reverse proxy to ip 192.168.0.1 port 80, whether it is a tomcat ...
0 votes
1 answer
4k 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.
0 votes
1 answer
2k views

Set Response Header In Lighttpd Web Server

I am wondering how I send back a HTTP response of 501 (Not Implemented) in Lighttpd web server, when somebody tries to access our api.mydomain.com over non-ssl. The check we have, but don't see how ...
1 vote
0 answers
103 views

Updating .po files without restarting lighty

We are running PHP with gettext on the lighttpd web server. When we update the .po/.mo files with new translations, we have to restart lighty for the new translations to appear. Is lighty caching the ...
1 vote
1 answer
626 views

lighttpd domain access restriction, but not always static ip

How can i allow access to a domain in lighttpd for only some of my own machines when they don't have (always) a static ip?
13 votes
5 answers
21k views

Fastest web server for serving static content

I'm optimizing our system for some faster static content delivery, and was wondering if anyone has any proper experience with the fastest web servers out there for such a purpose. From the three main ...
2 votes
2 answers
705 views

mod_compress not writing anything to the compress folder

I'm using lighttpd with fastcgi, just enabled mod_compress but its not writing anything in the directory that i have set i.e. /tmp/lighttpdcompress/ I've given its ownership to lighttpd and also set ...
1 vote
2 answers
1k views

lighttpd: modifying / adding content to response?

for nginx there's a very nice module available to filter a response and search/replace content in it: http://wiki.nginx.org/HttpSubModule i wonder, if there's a similar possibility for lighttpd ...
0 votes
1 answer
499 views

Method to proxy Subversion repo in lighttpd with https to the outside world

HTTPS is HTTP over SSL. I have an Apache server running on a machine in order to publish a Subversion repository (read-only). Apparently there is no direct solution to export the repository using ...
3 votes
1 answer
5k views

optimize nginx for large file downloading

Hey, I'm wondering what are some general options I should look into for optimizing an nginx server for large file downloading (typically 100mb to 6gb). I just migrated from lighttpd and I'm noticing ...
1 vote
1 answer
5k views

500 Internal Server Error with PHP application

I have written a PHP application using Windows and XAMPP. I've been trying to run it on Ubuntu 10.10 with Lighttpd 1.4.26. Parts of the application work fine, but whenever I try to log in, I get a 500 ...
1 vote
1 answer
540 views

How can I proxy couchDB as a sub-diectory with lighttpd?

I have a sub-directory on my web server (lighttpd) that I want to point at a CouchDB instance running on the same machine. I tried using mod_proxy but it sends along the whole request, like a proxy ...
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 ...
0 votes
1 answer
3k views

Need help, failed to start Lighttpd

I following this tutorial corectly : http://howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-fedora-14 But now i got this error : [root@fedora lighttpd]# /etc/init.d/lighttpd ...
1 vote
1 answer
1k views

How to host a fossil repository with lighttpd?

I have a fossil project and want to host it in a server of mine. I'm using lighttpd to serve the git interface for some other projects so using apache or nginx is out of the question. I have ...
0 votes
1 answer
882 views

How to redirect to localhost home on entering any non existing url?

I am working on an intranet application running over Lighttpd server, it is hosted on 192.168.0.1 and there is nothing else on server. I want to redirect any page request made to server (e.g.: "xyz....
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 ...
0 votes
1 answer
2k views

Segmentation fault lighttpd

Hey guys, I can't figure this out, when I add the fastcgi module to lighttpd when I try to connect to a php page, I get a segmentation fault error. Nothing is in the error log, and nothing else is ...
0 votes
2 answers
512 views

Reverse proxy server that lets you explicitly define mapping based on request URI?

I'm looking for a reverse proxy solution which either: a) Let's me explicitly define which requests go to which servers based on a regex (or some other similar way of defining that certain URL ...
1 vote
2 answers
353 views

High request time

I've got high execution time of HTTP request (ex. 42KB in 13s). I'm using haproxy to load balance traffic. Static files are server by lighttpd behind varnish accelerator. So... it should be served ...
1 vote
2 answers
2k views

Lighttpd broken when serving from Virtualbox shared folder [closed]

I've got a lighttpd web server set up on a Debian 6 guest in Virtualbox 4. I've got the www directory in a virtualbox shared folder, so that I can develop a website in the Windows host. My problem is ...
0 votes
1 answer
486 views

Lighttpd, PHP, WordPress and permissions

I'm wondering why WordPress isn't able to install or update themes and plugins. I can upload files thought. This is a permissions problem, even when I CHMOD 0777 on the wp-content/themes and wp-...
1 vote
2 answers
2k views

Allow only certain files to be exposed to the web on Lighttpd?

Just installed it on my linux desktop, and I only want 1 or 2 files accessible to the outside world. Everything else should only be accessibly via http://localhost/ for various privacy/security ...
1 vote
0 answers
3k views

Lighttpd 403 Errors on HTML and PHP pages

I installed lighttpd on CentOS 5.5 64-bit. Everything seems fine and running except I cannot get past 403 errors on both HTML and PHP pages. I have used CHMOD and CHOWN, changed ownership in the ...
0 votes
2 answers
965 views

Lighttpd: requesting local URLs via PHP

I have a webserver which serves content for a site, let's call it "domain.com". On that site, I have several PHP scripts that serve content. When someone browses to that site, everything works. If I ...
23 votes
1 answer
8k views

Python CGI on Amazon AWS EC2 micro-instance -- a how-to!

How can you make an EC2 micro instance serve CGI scripts from lighthttpd? For instance Python CGI? Well, it took half a day, but I have gotten Python cgi running on a free Amazon AWS EC2 micro-...
2 votes
0 answers
891 views

lighttpd + FastCGI + Mono not working with evhost enabled

I've started the migration of a Windows VPS to linode.com, choosing lighttpd over nginx and apache to host some sites built on asp.net mvc, and I'm stuck with what I think is a "document-root" ...
1 vote
1 answer
179 views

Only enable SSL if equal to x remote ip

Is it possible to only enable SSL on lighttpd by checking if the remoteip requesting a page is x or x or x ip? I know this can be done in nginx, but I am trying lightTPD at the moment.
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 ...
0 votes
1 answer
2k views

lighttpd fails while enabling mod_proxy

i am trying to set up an server with lighttpd and tomcat my conf is below server.modules = ( "mod_access", "mod_alias", "mod_accesslog", "...
1 vote
2 answers
6k views

Lighttpd 403 forbidden errors

I'm in the process of replacing Apache with Lighty and I'm having some trouble. The index of the page loads fine, but whenever I try to go into a subdirectory I will get a 403 forbidden error. It ...
0 votes
1 answer
48 views

Add minType on specific folder?

I installed lighttpd-1.4.28 to serve static files,but I want to add mintype (html) on specific folder not all document root how, can do it ?
0 votes
1 answer
425 views

lighttpd with multiple IPs, each with a UCC certificate and many hostnames

I'd like to get lighttpd working with UCC certificates, but I can't seem to figure out the correct syntax. Essentially, for each IP address, I have one UCC certificate and a bunch of hostnames. $...
0 votes
4 answers
394 views

Ubuntu + LigHTTPd: Server requests taking ages

I've had an issue since upgrading my distro a couple of weeks ago from hardy; receiving data after making a request has increasing intervals of nothing, as you can see from the picture below. http://...
1 vote
2 answers
396 views

lighttpd silently stops logging

I'm on a Slicehost 256MB VPS with Ubuntu 9.04 (Jaunty). lighttpd is the only web server process running; it listens on port 80. My lighttpd.conf can be found here. I'm using Ubuntu's default ...
0 votes
1 answer
435 views

lighttpd virtual host config

Trying to get these two vhosts set up correctly. I have two sites on this domain that i'm hosting: www.example.com/example.com and test.example.com. How do I get both of these to work in my vhost ...
1 vote
1 answer
238 views

Drupal 6 + Lighttpd = Very Slow on registering & no email

I have VPS account with 256MB RAM. But when Im trying registering, it takes very long time, and no email sent Is this because I have too small resource?
2 votes
2 answers
468 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 ...
0 votes
1 answer
934 views

Why is lighttpd and fastcgi keeping sending me the *.scgi file instead of the website content?

I have the following config: server.modules = ( "mod_compress", "mod_access", "mod_alias", "mod_rewrite", "mod_redirect", "mod_secdownload", "mod_h264_streaming", "...
1 vote
2 answers
1k views

SVN on Ubuntu with Lighttpd web server?

I need to install svn on Ubuntu 10.03 and Ubuntu 9.04. On both servers I use lighttpd. I found some tutorials on internet explaining which packages to install with Apache, but i actually need ...
0 votes
1 answer
156 views

Installing APC on a server with little ram

I'm going to install APC on my server to enhance Drupal performances, however I've read on internet that if I have little ram it might be a risk, and performances could get worse. I have 256MB ram, ...
0 votes
1 answer
237 views

How can I set clean urls (enable rewrite) if I don't have a domain?

In order to enable clean urls in Drupal, I add the lines below to the lighttpd configuration file. However I'm now working on a local server and I don't have a domain available. So I need to work ...
1 vote
2 answers
847 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. ...
0 votes
2 answers
717 views

How to get rid of webmin environment variables in PHP [closed]

I installed lighttpd with fast-cgi. Then I installed webmin. It appears webmin has taken over the lighttpd install and changed the PHP configuration to add a bunch of their own environment variables ...
0 votes
2 answers
789 views

lighttpd folder/site specific config files

I've been researching what I'm sure is a very simple task. Coming from .htaccess to lighttpd.conf, I'm sure I am still missing some important concepts. I am using lighttpd for a number of virtual ...

1
8 9
10
11 12