Questions tagged [lighttpd]

Lighttpd is a lightweight and high-performance event-driven web server.

Lighttpd is a lightweight and high-performance event-driven web server.

1125 questions
-1
votes
1 answer

Typing in a URl without adding the port

I have set up a site with lighttpd. The hosting works fine, but I have to add a port to the end of the URL otherwise I get a blank page. Is there any way I can type the URL and get the page without the port?
Gandhi
  • 1
  • 1
-1
votes
1 answer

Lighttpd to nginx vhost rewirte rule conversion

I have following lighttpd redirect rules and would need to convert them to nginx: url.rewrite-once = ( "^/misc(.*)" => "/misc$1", "^/show_fileupload.php(.*)" => "/show_fileupload.php$1", "^/flash(.*)" => "/flash$1", "^/images(.*)" =>…
KiwiJuicer
  • 1,952
  • 14
  • 28
-1
votes
1 answer

using variable in string in Lighttpd

Hi I'm trying to do this: $HTTP["url"] =~ "/([^/?]+)$" { setenv.add-response-header = ( "Content-Disposition" => "attachment; filename=$1" ) } but it did not replace $1 with what stored in the regex but just $1 characters. I'm…
romerun
  • 2,161
  • 3
  • 18
  • 25
-1
votes
1 answer

Use RVM With Lighttpd CGI

I have a very simple CGI server set up with lighttpd's mod_cgi and I have a multi-user install of RVM. How can I set up lighttpd to use RVM's ruby and its default gems? I tried adding the lighttpd user to the rvm group, but that seems useless since…
Max
  • 21,123
  • 5
  • 49
  • 71
-1
votes
2 answers

Yii dynamic IP filtering capabilities

I want to add my Yii Project IP filtering capabilities.. Below code add this capabilities to me actually (it helps).. But I want to add this capabilities in the run time, after the my program (yii project) is running, user may add another IP…
Angel
  • 1
  • 1
  • 5
-1
votes
1 answer

Lighttpd + https installation with Self Signed Certificate

on the following link tutorial is related with installation of https on lighttpd web server. http://www.cyberciti.biz/tips/how-to-install-ssl-lighttpd-https-configuration.html my question is how can I generate these certificate with using any…
Angel
  • 1
  • 1
  • 5
-1
votes
3 answers

Redirect en.example.com to example.com/index.php?language=en

I would like redirect addresses that start with: en.example.com/somefile.php to: example.com/somefile.php?language=en Using mod_rewrite module in lighttpd. Until now I got this: $HTTP["host"] =~ "^en\.(.*)\.com$" { url.rewrite-once = ( …
Tom Smykowski
  • 25,487
  • 54
  • 159
  • 236
-1
votes
1 answer

500 - Internal Server Error with lighttpd

I have a VPS with CentOS 5.8 (Final) and when I use lighttpd as my webserver instead of apache I get this error: "500 - Internal Server Error" (I'm trying to install WordPress and I get this error when I try to access my site; the error doesn't…
RegulusBlack
  • 43
  • 3
  • 12
-1
votes
2 answers

Configuring Lighttpd, PHP5 and MySQL5 for a no-supervision installation

I'm creating a script that'll work on a Lighttpd, PHP5 and MySql5. The point is, it must be full-offline script installed and configured with all the requirements by one installer. It's a bit modified wiki thing. How to do a such thing?
FLamparski
  • 115
  • 8
-2
votes
1 answer

Why does getenv("QUERY_STRING") return null in a FastCGI C++ program?

So I have a working FastCGI application written in C++ using Light HTTPd, however I'm unable to retrieve the querystring using getenv("QUERY_STRING"). Everything works fine if I take out the querystring request (or add a check for null), but with…
user1202909
  • 59
  • 1
  • 7
-2
votes
1 answer

Can upload file by Curl 7.29.0 but fail at 7.61.1

http server: lighttpd 1.4.45 my curl cmd is: RES=`curl -L -s -k -v --request POST \ --url "https://127.0.0.1/file" \ --header 'Cache-Control: no-cache' \ --header 'Accept-Encoding: gzip, deflate, br' \ --header 'Content-Type:…
-2
votes
1 answer

Use Letsencrypt for multiple domains in Lighttpd

For me it seems that a lot of guides / info about Lighttpd and Letsencrypt is outdated (5+ years). I have a newly installed Ubuntu 20.04 server with Lighttpd and 20+ virtual domains on 1 ip. How do I install LetsEncrypt certificates in this setup in…
AxAn
  • 143
  • 12
-2
votes
1 answer

How to write redirection rule using regex in lighttpd server

I have my files hosted in 192.168.1.1. Let's say 192.168.1.1/about is a page and I want to replace 192.168.1.1 with newserver.com/about How to write a redirect for such a scenario?
jothi
  • 11
  • 3
-2
votes
1 answer

AWS architecture design

In our company we are planning to launch our Web-based platform through the AWS. I've prepared architecture design and I would kindly ask you to provide feedback on how to improve it. Few notes are.. DATABASE We go with MariaDB (master + slave on…
urosz
  • 1
  • 1
-2
votes
1 answer

What's the idea behind a network address?

I want to block an entire ip range from my webserver but I'm not sure if it's possible with lighttpd. What exactly is the idea behind a network address for example 10.0.0.0/8 or 176.4.8.0/24? Especially the backslash and the number confuse me?
Micromega
  • 12,486
  • 7
  • 35
  • 72
1 2 3
74
75