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
1answer
24 views

How do I set up lighttpd for x.509 client certificate authentication

So far I've had HTTPS working for a long time, so I don't think there are any trouble with the server certificates. Now I tried to add this to lighttpd.conf: ssl.engine = "enable" ...
0
votes
0answers
68 views

Redmine + Lighttpd + FCGI: Homepage not Working

I have installed a Redmine 1.4 in /usr/share/redmine on a Debian Linux. Im running a lighttd with fastcgi to serve redmine. This is the lighttpd config: server.modules = ( "mod_access", ...
2
votes
1answer
26 views

file_get_contents url wrappers work on cli but not cgi

I have a big problem. I have just upgraded to a new dedicated server running Plesk 10, and Ubuntu 11.04 and my scripts can't run file_get_contents or curl to external urls in cgi mode. ...
-1
votes
0answers
23 views

Converting htaccess to lighttpd url.rewrite

In document root i've following .htaccess RewriteEngine on RewriteCond %{REQUEST_URI} !^/aaa/ RewriteRule (.*) /aaa/$1 [P] In /aaa/ dir there is a clean-url htaccess Please, help me to rewrite a ...
1
vote
2answers
27 views

Lighttpd + Index.php not found

Its the first time ever for me to setup a webserver myself. Also I am not familiar with linux, therefor excuse me if I am about to ask something stupid... I have setup lighttpd and everything seems ...
0
votes
0answers
11 views

Connect lighttpd to running fastcgi

I am using the following script to start a spawn-fcgi process: exec 2>&1 X_DEBIAN_SITEID="default" \ RAILS_ENV="production" \ exec /usr/bin/spawn-fcgi -n -s ...
0
votes
1answer
29 views

lighttpd fastcgi unix bind error

I am trying to configure Lighttpd to run Redmine using FastCGI. I have added the following code to my standard lighttpd.conf: $HTTP["host"] =~ "^foo.bar.com$" { server.document-root = ...
0
votes
2answers
51 views

Samba permissions for copied files

I have Samba running on a plug computer running Debian Squeeze which I'm trying to configure to act as a web-based file server. The machine runs Lighttpd for the web server, and Samba for the file ...
2
votes
0answers
26 views

lighttpd on Fedora permission issues

I'm trying to get started with lighttpd on Fedora 16 to run a RESTful api for development. Right now even with the most basic sample config file I'm getting 404 pages when I know the pages I'm ...
0
votes
1answer
37 views

lighttpd CPU utilization fails to decrease when load reduced

I have a lighttpd server which easily handles about 800 concurrent connections. But there seems to be a problem: When the number of users grows, the CPU utilization grows as well, until a limit is ...
0
votes
1answer
67 views

Should I switch from lightty to nginx? [closed]

I've been using lightty/lighttpd for about two years, and have had no problems. I occasionally have to restart lighttpd to regain some memory but other then that I love the config files and how ...
0
votes
0answers
28 views

Request timeouts but server load is almost zero

I have a dedicated server with several virtual hosts on it (CentosOS 5). Most of content is served via lighttpd and just some via apache. The problem is that, while apache is working perfectly well, ...
0
votes
1answer
27 views

Lighttpd can not start when including mod_rewrite

Here is my server modules list (modules.conf), its working without any problems, and lighttpd is running correctly while using this list: server.modules = ( "mod_access", # "mod_alias", # ...
1
vote
2answers
19 views

Lighttpd based server issues crop up when port forwarding

I have four host computers running lighttpd webservers. they are sitting behind a hspa modem, which each occupying a http port between [81 - 84]. 80 is taken by the modem itself. The port forwarding ...
0
votes
1answer
54 views

Ruby Passeger + Nginx or lighthttpi + fgci for shared hosting

I have set up a passenger + nginx setup and I plan to offer a free non-commercial hosting (or in fact on the fly deployment) for rack-based frameworks (e.g. camping, sinatra). I am facing an "issue" ...
0
votes
1answer
90 views

HAProxy and 2 webservers

I have a website that is split into two different servers: chat server in node.js normal website (lighttpd + php + whatever) now, I have set HAProxy in the same machine as node.js chat, so that ...
0
votes
1answer
45 views

Lighttpd $HTTP[“host”] regex matching

I've set up my config like this: $HTTP["host"] =~ "(^|\.)domain1\.com$" { fastcgi.server = ( "/domain1.py" => (( "socket" => "/tmp/fastcgi.socket", "bin-path" => ...
1
vote
1answer
54 views

Virtual hosting in lighttpd?

Ok, here it goes... I've seen some other posts dealing with this, but it didn't help that much. I am using windows XP. My problem is with trying to get lighttpd working with virtual hosts. Now, I ...
0
votes
0answers
54 views

Using relative path in PHP.INI doc_root — getting No Input File Specified — running as fastCGI

I'm attempting to run php-cgi under LightTPD on Windows with my doc_root set to one directory up (doc_root = "../Docs") -- however, I get "No input file specified". I've set cgi.fix_pathinfo, and all ...
1
vote
0answers
48 views

Nginx equivalent to lighttpd “evhost.path-pattern”

I'm setting up a new server for my personal stuff. On the old box I've used lighttpd for almost two years now. I've read a bit about it and most people tend to switch to nginx since it's development ...
0
votes
1answer
211 views

lighttpd + Webmin in a subfolder

I am using Webmin for my home server administration. Instead of running it on the default port (https://myhost:10000), I wanted to host it inside a sub-folder (https://myhost/webmin/). This is ...
0
votes
0answers
51 views

Lighttpd rewrite rule working for 1.4.x, but not for 1.5

It's working fine in lighttpd 1.4.x, but when I switch to 1.5.x it displays Internal Server Error. Any ideas ? url.rewrite-once = ("^(.*)/strony/([^a-zA-Z][0-9_/]*$)" => "$1.php?strony=$2", ...
0
votes
1answer
81 views

lighttpd: redirect traffic from http to https on *.domain.tdl

I am using Lighttpd with a snipped i've found on the net. How to redirect all subdomains of a given domain to https without touching other domains or subdomains of domains? Currently i am doing this ...
1
vote
1answer
125 views

Run a node.js app with lighttpd

I'm currently hosting some websites on my server, and I use Lighttpd for this. Now I'm currently developing a web application using Node.js and I'd like to be able to create vhosts which would point ...
0
votes
2answers
229 views

PHP Warning: PHP Startup: Unable to load dynamic library

I have tried to run my script via cron, but it was not working... */1 * * * * /usr/local/bin/php -f /usr/local/www/maintain.php > /usr/local/www/php.log So I decided to try to run this script ...
3
votes
1answer
64 views

lighttpd - use different document-root for diff url

To me this seem logical, but it doesn't seem to work. $HTTP["host"] =~ "(^|\.)hd.domain\.com$" { server.document-root = "/domain_site/" $HTTP["url"] =~ "^/aa/" { server.document-root ...
1
vote
1answer
54 views

Lighttpd - rewrite request when 404 error

I have question if it is possible do run mod_rewrite rule when 404 error occurs. Example: Request: http://domain.com/files/img/file.jpg If there is no /files/file.jpg, then Lightttpd should rewrite ...
1
vote
0answers
49 views

Error when installing lighttpd

I have a server using lighttpd with the kloxo control panel, and some of the lighttpd files were missing the PHP configuration so I decided to reinstall lighttpd using Kloxo (this should regenerate ...
2
votes
1answer
35 views

lighttpd adding vhost error

I'm trying to have multiple domains. Followed the instructions from web and added the lines in lighttpd.conf file: $HTTP["host"] =~ “(^|.)example.com$” { server.document-root = ...
0
votes
2answers
157 views

How to effectively have less php-cgi processes running?

my server is a Linode 512, and on it I run a Wordpress MU with 3 websites (they don't get a lot of visitors) and a couple of NodeJS apps. I need switched to lighttpd because Apache 2 was using about ...
1
vote
0answers
123 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
106 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
149 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
43 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
128 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 ...
2
votes
1answer
135 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
41 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
109 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
70 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
70 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
322 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
87 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
75 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
193 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
92 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
27 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
171 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
123 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
490 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
100 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 ...

1 2 3 4 5 8