All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
360 views

Lighttpd - Redirect HTTPS 443 to HTTPS 123

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 ...
Sean Delaney's user avatar
0 votes
1 answer
677 views

Lighttpd: Expose files in a directory only through chosen URL pattern

Background I have a web page X, which I would like to serve through only through URLs matching /X/${UUID}, where UUID is a random UUID which I give to a person. I have come up with a solution which ...
justinpc's user avatar
  • 151
0 votes
0 answers
198 views

how to use rewrite files with lighttpd

I have just installed a new personal Gentoo server (on a VPS at vpsfree.cz by the way) and wanted to try something more lightweight than Apache that I used on my previous Debian based server. I used ...
Pavel Šimerda's user avatar
0 votes
2 answers
2k views

lighttpd: remove charset=UTF-8 from content type

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

Lighttpd splitting request URI and dropping query parameter

I'm running lighttpd 1.4.33, which is reverse proxied to from an Apache server that is open to the Internet. When accessing a script from the local address of the lighttpd server, GET parameters are ...
Libbux's user avatar
  • 295
0 votes
3 answers
93 views

Architecting a web server hosting mixed small and large (100MB+) static content [closed]

I have the challenge of hosting about 200-1000 mp3 files, all in the 100MB+ size range. Furthermore, there are some smaller RSS files, and some smaller JPG files. All this is static content, no PHP, ...
Carsten's user avatar
0 votes
2 answers
570 views

Serving image content over https, must encryption strength match that of the main website?

Im looking at migrating my website to https throughout. I have a server responsible for the HTML/PHP, and 4 other servers which serve image content Now clearly all the image servers need to be https ...
carpii's user avatar
  • 541
2 votes
1 answer
473 views

How to forbid HTTP TRACE in lighttpd

In a recent PCIDSS scan at a client of mine, I got aware of Web Server HTTP Trace/Track Method Support Cross-Site Tracing Vulnerability (CVE-2004-2320, CVE-2007-3008). The proposed mitigation for ...
andreas-h's user avatar
  • 1,124
0 votes
1 answer
1k views

mod_access for lighttpd causes a 403 error for all POST requests

I have found on my debian server that running the lighttpd module mod_access is causing the server to response with a 403 to all POST requests. It's very odd as I have two servers, one is running as ...
Samuel Parkinson's user avatar
2 votes
1 answer
3k views

Blocking HEAD, DELETE, etc. with lighttpd

So I have lighttpd installed and the site it runs only needs to respond to GET requests. I was wondering how I can return 405 responses with Allow: GET headers to anything but GET requests using ...
Samuel Parkinson's user avatar
3 votes
1 answer
4k 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" ...
Steinbitglis's user avatar
2 votes
1 answer
2k 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 ...
johndir's user avatar
  • 305
2 votes
1 answer
11k views

Lighttpd: redirect any request to index.html

I'm trying to send any request to the index.html with lighttpd in order to prevent 404 but I'm not smart enough because either the redirect matches itself or, for calls to subdirs, although the index....
None's user avatar
  • 121
1 vote
2 answers
741 views

Serving static web files off a non-standard port

I'm close to deploying a Django project to production. I'm looking over some infrastructure decisions. Something that came up was serving static files with a different server such as lighttpd. ...
Belmin Fernandez's user avatar
1 vote
2 answers
487 views

best http server application as webdav?

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) ...
Data-Base's user avatar
  • 185
1 vote
2 answers
608 views

Handling http and https requests using a single port with lihgttpd

At the moment I am using http and https as different port. And based on request uri, I made a redirection rule from http to https switch and vice versa. But If I can use only a single port for https ...
agfe2's user avatar
  • 113
4 votes
1 answer
4k views

How to remove response header in lighttpd configuration

There is mod_setenv for adding: setenv.add-response-header = ( "Header" => "value" ) But I can't find anything to remove response headers. I have to be sure, that my content is not cached by ...
grzaks's user avatar
  • 335
2 votes
2 answers
563 views

How to optimize mysql databse for serving 1000s of requests at a time?

How to optimize MySQL databse for serving 1000s of requests at a time? For a site like: linksnappy.com Is it possible to configure to separate MySQL servers into one load balancing server? So if one ...
user avatar
1 vote
5 answers
2k views

HTTP request pause for one minute

I have this website which works very smoothly but occasionally when I click a link it pause for around one minute before I get the page, and when I open the same page in a new window, it open smoothly ...
user avatar
10 votes
2 answers
2k views

How to handle encrypted and unencrypted http connections through a single port

Please, take a look at the following diagram. How should this work? When a remote requests http:// myhost.com:8080/* , the request should be forwarded to the http server that listens on port 8008 of ...
alemartini's user avatar
  • 1,043
23 votes
9 answers
39k views

Handling http and https requests using a single port with nginx

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 ...
alemartini's user avatar
  • 1,043
4 votes
4 answers
13k views

how to disable unencrypted traffic(port 80) on lighttpd

We want to run an SSL only lighttpd process. Which configuration option should be used to turn off port 80 with its unencrypted traffic ? Lighttpd documents only provide a "redirection" to https ...
hayalci's user avatar
  • 3,631
3 votes
2 answers
4k views

Configuring lighttpd for many lightweight concurrent Keep-Alive http connections

I am using lighttpd as a front-end proxy to my custom HTTP based application server. I need to configure lighttpd for a large number (let's say around 5000) simultaneous http connections which have a ...
Krystian Cybulski's user avatar
2 votes
4 answers
468 views

Rewrite rules for Drupal Boost with Lighttpd

I have been given the super task of preparing a web site to get hammered.... Or site is drupal based, I have found what could be my answer in the form of Boost. But I can't for the life of me find ...
bsdjunkie's user avatar
  • 121