Skip to main content

Questions tagged [lighttpd]

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

2 votes
2 answers
16k views

I am able to run lighttpd on ubuntu 9.10. But when i tried to setup fastcgi with lighttpd by putting this in the ligttpd.conf file: #### fastcgi module fastcgi.server = ( "/fastcgi_scripts/" => ...
1 vote
3 answers
7k views

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 ...
2 votes
1 answer
7k views

I've a Lighttpd server running on HTTPS, and I want to have one subdirectory on the server act as a reverse proxy for a separate server that runs on HTTP. I've tried following guides on doing both ...
1 vote
1 answer
928 views

I have lighttpd/1.4.31 (ssl) on Debian 7.6 and I would for the standard error.log to include the IP address of the host which caused the error. Is it possible? The accesslog.format directive allows ...
0 votes
4 answers
4k views

I've recently installed Lighttpd on Ubuntu 10.04. I used the standard concfig file without modification and placed my content in /var/www. I opened a browser typed in the URL www.myexample.co.uk and ...
1 vote
1 answer
272 views

I have a lighttpd server version 1.4.46+ on Linux which serves file1.xml and file2.xml from htdocs directory as is. There are clients that request these files, each of those send a User-Agent header ...
0 votes
1 answer
162 views

With this configuration $HTTP["host"] == "^(ch\.)?pool.ntp.org$" { accesslog.filename = "/var/log/lighttpd/pool.ntp.org_access.log" $HTTP["url"] =~ &...
0 votes
1 answer
607 views

The following config (/etc/lighttpd/lighttpd.conf) seems to redirect to the default page $HTTP["host"] == "pool.ntp.org|ch.pool.ntp.org" { accesslog.filename = "/var/log/...
1 vote
0 answers
138 views

I need a Lighttpd rewrite rule for a WordPress Multisite in a subdirectory for my local install. # Rewrite url.rewrite-final = ( "^/([_0-9a-zA-Z-]+/)?(wp-json.*)" => "/index....
-1 votes
1 answer
406 views

I'm an absolute beginner at lighttpd and I'm at my wits end trying to figure out what's gone wrong with the default settings that I've customized atm debug.log-request-handling = "enable" ...
0 votes
1 answer
280 views

0 Just recently I've started to see seemingly random crashes on a web server that has been stable for quite some time. I think PHP is crashing, but there are no crash logs so I'm only assuming that's ...
0 votes
1 answer
117 views

I am beginner in lighttpd I am facing problem in cms script because of htaccess as htaccess dont work in lighttpd I had enabled mod_rewrite in lighttpd.conf file and due to this I am facing 404 error ...
13 votes
7 answers
156k views

I'm new to this load balancing scenario and I'm being tasked to figure out how to make this load balancing works. My environment: Centos 6.4 64 Bit Webserver: Lighttpd All running in ESXI virtual ...
0 votes
1 answer
376 views

I have two CGI test scripts in lighttpd. When I open Bash http://host/cgi-bin/test.sh URL I get a valid response from the script. But when I open Python http://host/cgi-bin/test.py the file is ...
0 votes
1 answer
98 views

It seems like redirect is not done. If I put URL https://test2/static_page in browser it works but if I put https://test1 don't redirect SERVER["socket"] == ":443" { $HTTP["...
28 votes
9 answers
45k views

i was wondering if nginx is able to handle http and https requests on the same port. [*] This is what i'm trying to do. I'm running a web server (lighttpd) handling http requests, and a C program ...
2 votes
1 answer
680 views

I've just set up a lighttpd server which I want to use to serve multiple applications on different domains. I've managed to make traffic to a specific domain to be redirected to an application running ...
0 votes
1 answer
520 views

I am using lighttpd version 1.4.55 within an ARM environment. I created an HTML pages in which there is a button used to download some json data. This button trigger a submit form that calls a cgi ...
0 votes
1 answer
221 views

So far I have configured php-fpm configured and is up and running listening to port 9000 lighttpd is running and serves static files the problem that I have seems to be a permissions issue, so i chmod ...
0 votes
1 answer
148 views

It has been a long time since I have done any hosting on Linux, and it that was on CentOS and Apache. I am working on creating some sites on an Alpine server running Lighttpd. Reviewing the config ...
1 vote
2 answers
585 views

what is the best http server to be used as webdav for getting and posting files (big files) to from server? is it apache or lighttpd ? I will use the system as online file storage (for backup) ...
1 vote
2 answers
239 views

What is the maximum number of VirtualHosts a single lighttpd instance can handle? I'd like to confirm some numbers before deploying lighttpd for production. Here's a similar question for the old ...
0 votes
1 answer
2k views

I am running lighttpd in a docker container on Ubuntu (as a service that must always be up in my traefik setup). My docker-compose.yml contains: lighttpd: image: sebp/lighttpd container_name:...
1 vote
1 answer
2k views

I have trouble configuring Lighttpd to serve the various services hosted on my server. Lighttpd acts as a front, and I have several DNS records, each for a different subdomain, redirecting to the same ...
0 votes
0 answers
749 views

I am a beginner with traefik, lighttpd, docker compose, and I am trying to get logging working for lighttpd under docker compose. My lighttpd.conf file contains: server.modules = ( "...
4 votes
1 answer
1k views

After restarting a lighttpd server recently I haven't been able to get it up and running again. I am running a python built API service on it, and am relying on the web.py module to run the ...
0 votes
0 answers
142 views

So, I've this situation: I have recently installed Lighttpd in ubuntu (In VM Ware), I am trying to bind the IP to the Lighttpd server and access that IP address (from a browser) in my other system (...
1 vote
2 answers
2k views

When saving configuration settings in Magento I get "413 - request entity too large". We are running lighttpd. In php.ini memory_limit = -1 In lighttpd.conf server.max-request-size = 1000000 I have ...
2 votes
2 answers
2k views

I'm running lighttpd-1.4.19 on a debian 5 box and try to run web2py with fastcgi. The problem with that is, that lighttpd does not create the socket file /tmp/fcgi.sock. If I'm creating the file by ...
1 vote
2 answers
2k views

I have tried to use the example from this wiki page - $HTTP["scheme"] == "http" { # capture vhost name with regex conditiona -> %0 in redirect pattern # must be the most inner block to ...
1 vote
1 answer
3k views

I've setup lighttpd to use an ldap backend like so: auth.debug = 2 auth.backend = "htdigest" auth.backend.ldap.hostname = "ldap.xxxxx.com" auth.backend.ldap.base-dn = "ou=active,ou=employees,ou=...
3 votes
2 answers
3k views

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
0 answers
294 views

I encountered an error that proxy.forwarded is an unknown key I already enabled mod_proxy on my configuration. Here is my config server.modules = ( "mod_access", "mod_accesslog&...
0 votes
2 answers
3k views

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: server....
4 votes
2 answers
5k views

I am trying configure Lighttpd to redirect/handle port-specific requests to a subdomain. I can access my plex server via https://www.example.com:32400/ I would like that to be redirected to https://...
0 votes
2 answers
2k views

lighttpd 1.4.31-4+deb7u3 automatically adds ;charset=UTF-8 to the content-type of .html and .php files. How can I remove that? Setting the content type in PHP itself does not help; lighttpd still ...
3 votes
1 answer
4k views

I am trying to configure FastCgi with ligttpd server. I was able to run vanilla lighttpd like this: ./lighttpd -f lighttpd.conf And then I compile/install the source of fastcgi, and I add the ...
1 vote
1 answer
231 views

I am trying to configure lighttpd to serve an application (let's call it "foo") that is using a non-standard index page (e.g. "bar.html") as it's start page from a different document-root than the ...
2 votes
2 answers
407 views

My tomcat serves 2 sites ROOT -> Main-site /mobile -> dedicated mobile website I've configured lighttpd to serve as a proxy $HTTP["host"] =~ "www.my-site.at" { proxy.server = ( "" =&...
1 vote
2 answers
594 views

I'm not an expert and I'm looking to use modsecurity with lighttpd Can someone explain me how to compile or install modsecurity for lighttpd because I can't find any documentation online
1 vote
2 answers
718 views

I am trying lighttpd as a reverse proxy (v1.4.53) lighttpd.conf: $HTTP["url"] =~ "(^/example/)" { proxy.header = ("map-urlpath" => ( "/example/" => &...
3 votes
1 answer
641 views

i'm trying to use lighttpd as a simple "alive" server for some nodes i have running. However, the script I'm running throws 500 errors non-deterministically, and i can't find them anywhere. ...
2 votes
1 answer
676 views

I have HTTPS working for a local instance of Lighttpd. But I'm wanting to redirect: http://192.168.1.254 -> https://192.168.1.254:123 https://192.168.1.254 -> https://192.168.1.254:123 My ...
0 votes
1 answer
376 views

I have running lighttpd 1.4.59 on Lubuntu 21.10. My lighttpd.conf contains: fastcgi.server = ( "/" => (( "bin-path" => "/var/www/html/script.fcgi", ...
0 votes
1 answer
1k views

I have an interesting condition resolution problem to resolve and have not had luck with on-line searching and looking through documentation for lighttpd yet. Many of those searches led to similar ...
0 votes
1 answer
586 views

BusyBox httpd executes the ./cgi-bin/index.cgi if it exists. This is similar to index.php but with the /cgi-bin/ folder. So for example I have the structure: /api/ cgi-bin/index.cgi /blog/ cgi-bin/...
0 votes
1 answer
2k views

I'm installing Nextcloud on a FreeBSD system and I'm using lighttpd behind a nginx reverse proxy with terminal SSL. lighttpd is able to serve static html files and can serve index.php, but without any ...
0 votes
2 answers
493 views

I've an installation of lighttpd under Debian running a small API. The current rewrite rules are: url.rewrite = ( "^/(.*)\.(.+)$" => "$0", "^/(.*)$" => "/index.php/$1" ) The ideia is to ...
5 votes
2 answers
6k views

Can I set multiple SSL certificates for virtual hosts using Lighttpd web server? I have several webshops on my server (each webshop has its own domain) and I need to setup a SSL certificate for each ...
0 votes
2 answers
644 views

I have a webserver with limited resources and therefore I decided to use lighttpd as my webserver software. However, I notice now that it does not recognizes apache .htaccess files. Most of the ...

1
2 3 4 5
12