Skip to main content

Questions tagged [lighttpd]

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

0 votes
1 answer
29 views

Creating a rule in lighttpd to have multiple hosts point to the same folder

With this configuration $HTTP["host"] == "^(ch\.)?pool.ntp.org$" { accesslog.filename = "/var/log/lighttpd/pool.ntp.org_access.log" $HTTP["url"] =~ &...
theking2's user avatar
  • 180
0 votes
0 answers
39 views

Your browser sent an invalid or no HTTP referer error Lighttpd when trying to shorten url and change document-root

Having a site setup using lighttpd, it's first url was: http://localhost/vichan/recent.html I then wanted to put it on a different port to then tunnel it later and shorten the url to make it looks ...
Tr4nt's user avatar
  • 1
0 votes
1 answer
160 views

how to proper redirect permanently in lighttpd

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/...
theking2's user avatar
  • 180
1 vote
0 answers
49 views

Lighttpd rewrite rules for WordPress Multisite in a subdirectory

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....
drumkid's user avatar
  • 11
-1 votes
1 answer
144 views

Lighttpd can't figure out what's wrong with syntax

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" ...
Calvin's user avatar
  • 1
0 votes
1 answer
52 views

Can someone help me out in lighttpd server facing issue in mod rewrite and 404 error in cms

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 ...
Prajwal 's user avatar
0 votes
1 answer
115 views

Track down PHP crash running in lighttpd - no logs

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 ...
QldRobbo's user avatar
0 votes
1 answer
60 views

Is possible return a static page in https virtual host using lighttpd?

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["...
Aprendiz's user avatar
0 votes
1 answer
190 views

Lighttpd CGI downloads .py instead of running it

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 ...
jackhab's user avatar
  • 801
0 votes
1 answer
400 views

lighttpd: ajax request prints the content of cgi script instead of running it

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 ...
marco's user avatar
  • 1
1 vote
1 answer
155 views

lighttpd 1.4.46+ serve specific file based on $HTTP["useragent"]

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 ...
FearDC's user avatar
  • 13
1 vote
2 answers
174 views

What is the maximum number of virtualhosts lighttpd can handle?

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 ...
fpemud's user avatar
  • 111
0 votes
1 answer
1k views

How do I get lighttpd access log to stdout?

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:...
gctwnl's user avatar
  • 173
0 votes
0 answers
572 views

404 error with lighttpd and unable to get lighttpd access.log and error.log working under docker compose

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 = ( "...
gctwnl's user avatar
  • 173
0 votes
0 answers
102 views

Trying to access lighttpd sever in other pc

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 (...
techie's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
41