Tagged Questions

Lighttpd (pronounced "lighty") is an open source web server optimised for speed critical environments, which is standards compliant. It attempts to be lower memory footprint, and more CPU efficient than other web servers, and is often simpler to configure. Initially it was targetted at static ...

learn more… | top users | synonyms

1
vote
0answers
9 views

Lighttpd mod_auth authentication difficulties on Safari (iPad and iPhone)

I've set up lighttpd on my embedded device and configured the modules in the lighttpd.conf When accessing the web pages from Chrome or Firefox from the PC I get asked for the username and password and ...
0
votes
1answer
37 views

Varnish proxy redirects from domain.com to domain.com:8080

I got Varnish on port 80 before lighttpd on port 8080 as a cache. Sometimes when I go to page http://domain.com/ I'm being redirected to http://domain.com:8080. How to prevent this ?
1
vote
0answers
36 views

lighttpd startup script says /etc/rc.status is missing

I am trying to install the lighttpd startup script. I followed these steps, but when I start it I get root@debian:~# /etc/init.d/lighttpd start .: 53: Can't open /etc/rc.status Seems rc.status does ...
0
votes
0answers
18 views

lighttpd conf server not found

Hi I have lighttpd running on my local machine (somebody else set it up) and it is working on well on a specific project. I am trying to set it up for a new project myself from what I can work ...
0
votes
4answers
100 views

web servers & php [closed]

I usually code in PHP, and always used apache. I have started my own website but I soon realised that apache is not the best solution to have: it uses 15MB of memory per page, making a small server ...
1
vote
1answer
87 views

Multiple authentication backends in lighttpd

I have some users in a LDAP directory and I'd like to have another user in a plain or htpasswd file that can login although the connection with the LDAP server is not available. Is it possible to ...
0
votes
0answers
18 views

Nginx proxy to Lighttpd alias 404ing

I am trying to add the xcache admin alias to lighttpd. But it is 404ing which I am guessing is an issue with nginx to lighttpd. Lighttpd is listening on localhost:80 and nginx listens to external:80. ...
2
votes
1answer
44 views

How to serve a wget --mirror'ed directory of files with questionmarks in them

I'm trying to create a static mirror of a php application (an old php Gallery installation, specifically). The app produces URLs such as: view_album.php?set_albumName=MyAlbum wget downloads these ...
0
votes
0answers
48 views

Strange content after installing new PHP5

I've installed PHP & MySQL (with PDO Driver) on my FreeBSD dedicated server, earlier I was using Debian and everything worked like a charm, but now, when I enter my website all I can see is a ...
0
votes
0answers
19 views

Streaming Media Content from Lighttpd and static Content from JBoss

I have my web application based on JSF running on JBOSS server on Linux OS.. My web application demands significant media content on the website.. As such I am hoping to use lighttpd to server media ...
1
vote
1answer
178 views

Firefox does not load certificate chain

I'm running lighttpd/1.4.28 (ssl) on Debian Squeeze. I just created a http://startssl.com certificate, I runs fine at all of my Browsers (Firefox, Chrome, Opera), but my users are reporting ...
0
votes
0answers
58 views

Why PHP cannot visit my local domain webpage?

I have a strange problem. Assume my server is example.com. I put a simple script called test.php to www root (assume that /home/example/): <?php ...
0
votes
1answer
33 views

Using multiple FCGI binaries on one lighttpd instance - possible?

It seems to me that it will be more maintainable to keep separate functions of my site in separate FCGI binaries. What I want is for requests like these: http://mysite.com/funcA.fcgi ...
1
vote
2answers
74 views

Bash-Scripting - Munin Plugin don't work

i have written a munin-plugin to count the http-statuscodes of lighttpd. The script: #!/bin/bash ###################################### # Munin-Script: Lighttpd-Statuscodes # ...
0
votes
1answer
44 views

How to setup Tomcat 6 with Lighttpd so that Tomcat6 forwards requests to Lighttpd

I have run into this scenario where I have a Rackspace VPS server running Ubuntu 10.10 with Tomcat 6 serving a moderately complex JAVA WebApp using a fixed domain. The problem is that I would like to ...
1
vote
1answer
17 views

FTP permissions issue: files uploaded won't display in web browser

I've configured a ftp server on my Ubuntu box, and added a user to it. Now when I upload files to /var/www, the files aren't viewable on the web. I'm using lighttpd as my webserver, which runs as ...
0
votes
0answers
72 views

How to setup Python with Lighttpd and FastCGI (like PHP)

Running Lighttpd on Linux, I would like to be able to execute Python scripts just the way I execute PHP scripts. The goal is to be able to execute arbitrary script files stored in the WWW directory, ...
0
votes
1answer
92 views

What's best today lighthttpd or Apache with Tomcat? [closed]

lighthttpd was hot some time ago with Tomcat. Is it still the case ? I heard apache 6 and Tomcat 6 is lightning fast ?
1
vote
3answers
172 views

SELinux causes “Permission denied” when starting lighttpd+fastcgi via upstart

I'm have trouble launching a lighttpd fastcgi python app via upstart. I can launch the app successfully using sudo lighttpd -D -f /path/to/lighttpd.conf and via su -c "lighttpd -f ...
1
vote
1answer
38 views

Lighttpd: Redirect specific location and sub-locations from HTTP to HTTPS (without using domain name)

I would like to redirect a specific section of a website from HTTP:// to HTTPS:// using Lighttpd. I've been looking at this Lighttpd wiki entry, but the examples don't work the way I want. I have ...
0
votes
0answers
17 views

Django deployment with lighttpd: URL issue

I have a problem deploying my Django application to a web server that runs lighttpd. Unfortunately, I followed the instructions in the Django docs, but it simply doesn't work for me. With the ...
1
vote
0answers
56 views

django url matching with Lighttpd fastcgi

I have a problem with url. I can access the djando app home page ( localhost/djangotest/ ) but can't access the admin section ( localhost/djangotest/admin/ ). I can access it using the django server ...
1
vote
0answers
45 views

lighttpd + php-cgi: Memory increase crazily if there's syntax error in the php file

I use lighttpd as the webserver, and module mod_fastcgi is on. So I can fetch php file with lighttpd. Here is a segment of my configure file. fastcgi.server =( ".php"=> ( ( ...
1
vote
1answer
121 views

Install and configure lighttpd on diferent port than apache on ubuntu server

I have ubuntu server and installed Apache and PHP. All my web works fine. I want images, from the web, to work with lighttpd server on different port than apache, for example 8080. So, in html I will ...
2
votes
4answers
210 views

Lighttpd's memory leaks, a myth or true? If true, does it apply to static content?

[First, please read it all before marking it as being subjective, or irrelevant as of ServerFault's community guidelines.] EDIT: I should have mentioned that the site I am building serves video ...
0
votes
0answers
39 views

Virtuemart SEF urls in lighttpd webserver

I'm new to this page and I would like to post a question about seo friendly urls.. Here is my problem.. my site has the following prducts version: Joomla:1.5.22 Virtuemart:1.1.9 stable Web ...
0
votes
0answers
103 views

Lighttpd - Extended Virtual Hosting for sub-domain‏ (Python, using FCGI protocol)

I am trying to set up virtual hosting to support both domain, and subdomain (like http://mysite.com, and http://blog.mysite.com). The following lighttpd config file works half of times for me, and the ...
1
vote
1answer
29 views

Measure duration of a php web request on lighttpd

I'd like to get time (ms) from php request to response for each hit on a page. Can this be done through lighttpd, or should it be done in php? How? If done in php, what would be the best performing ...
0
votes
0answers
84 views

Different php-fpm config file for each vhost

I think I followed the necessary steps but I can't get this working. php-fpm.conf includes "include=/etc/php5/fpm/pool.d/*.conf" which contains: www.conf domain.tld.conf The only difference ...
-2
votes
2answers
60 views

One http request takes 200% CPU [closed]

Going to one of my websites produces this; top; Seconds later all goes back to normal again..... do I maybe have some sort of aggressive http logger or something installed? rcconf;
0
votes
1answer
55 views

lighttpd redirect https to http

After two days of searching, I decided to ask this question here: I have extremely limited lighttpd installed on my iDevice, and I need to redirect all received https traffic to http. I don't have ...
1
vote
0answers
124 views

lighttpd reverse proxy rewrite

I am trying to configure lighttpd (v1.5) as a reverse proxy. Gollum is running on port 8080 and I've setup lighttpd.conf as per the following: $HTTP["url"] =~ "^/wiki.*" { proxy-core.protocol = ...
2
votes
1answer
92 views

Are there any way to check client certificate issuer in lighttpd?

I have to check client certificate issuer in the Lighttpd but can't find any variable for that. Here is part of my config, related to ssl_mod: $SERVER["socket"] == ":443" { ssl.engine ...
0
votes
0answers
38 views

Improve SSL Performance In Lighttpd

Are there any directives or tricks to improve the performance of SSL with lighttpd web server? Our control panel requires SSL, but benchmarking with apache benchmark I'm only able to get around 9 ...
0
votes
1answer
93 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
34 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
80 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
2answers
91 views

Is it possible to filter/edit web content using Apache/Nginx/Lighttpd?

Is it possible to use any of the following HTTP servers: Apache, Nginx or Lighttpd as a proxy to make the following: Disallow certain HTTP bodies (web pages) based on their content (e. g., words) ...
0
votes
1answer
122 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
41 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
156 views

Lighttpd proxy module - use with hostname

I have to proxy a site which is hosted on an external webspace through my lighty on example.org. My config so far: $HTTP["url"] =~ "^/webmail" { proxy.server = ("/webmail/" => ( # ...
0
votes
1answer
38 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
109 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 ...
0
votes
1answer
98 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 = ...
2
votes
2answers
315 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 ...
1
vote
2answers
54 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 ...
0
votes
1answer
207 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 ...
0
votes
2answers
145 views

Lighttpd sending wrong headers for UTF-8 content

Ubuntu/Lighttpd is not serving my UTF-8 encoded files with the correct Content-Type header. It's sending Content-Type: text/html rather than Content-Type: text/html; charset=UTF-8. How do I configure ...
0
votes
0answers
57 views

Enable mod_extforward in lighttpd properly

I am trying to configure lighty so it can work with CloudFlare using mod_extforward to show the IP from a header in access.log. The lighttpd.conf looks like this: server.modules = ( ...
1
vote
2answers
114 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 ...

1 2 3 4 5 7