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
12
votes
7 answers

htdocs path in linux

I am working on linux server through ssh and want to know where to put html and php files (the htdocs folder) but its seems to me the servers is running lighttpd My directory structure looks something like this.
Shishant
  • 9,256
  • 15
  • 58
  • 79
10
votes
6 answers

How to make browser stop caching GWT nocache.js

I'm developing a web app using GWT and am seeing a crazy problem with caching of the app.nocache.js file in the browser even though the web server sent a new copy of the file! I am using Eclipse to compile the app, which works in dev mode. To test…
jfritz42
  • 5,913
  • 5
  • 50
  • 66
9
votes
4 answers

Nodejs Reverse Proxy Performance

I am investigating the possibility of using Node to act as a reverse proxy. One of the primary goals of my project is for it to be VERY high performance. So I've setup a node server to proxy requests to the target node server that will respond…
jonnysamps
  • 1,067
  • 1
  • 14
  • 20
9
votes
3 answers

Secure communication between django server and iphone app

I'm writing an iPhone application that needs to send small bits of information (two strings of under 128 characters each, at a time, and this doesn't happen too frequently) to a server when users interact with it. I would like this information to…
Andres
  • 2,880
  • 4
  • 32
  • 38
8
votes
3 answers

Is glibc's implementation of fprintf() thread-safe?

Is fprintf thread-safe? The glibc manual seems to say it is, but my application, which writes to a file using single call to fprintf() seems to be intermingling partial writes from different processes. edit: To clarify, the program in question is a…
John Carter
  • 53,924
  • 26
  • 111
  • 144
8
votes
13 answers

Django + FastCGI - randomly raising OperationalError

I'm running a Django application. Had it under Apache + mod_python before, and it was all OK. Switched to Lighttpd + FastCGI. Now I randomly get the following exception (neither the place nor the time where it appears seem to be predictable). Since…
ibz
  • 44,461
  • 24
  • 70
  • 86
8
votes
1 answer

setup svn over https without apache

I have tried to do this for months without success so I decided to finally ask if anyone has done it. I am trying to setup svn over https without an apache web server. This can be done with git repositories, but couldn´t find the way to do it…
nbrest
  • 137
  • 2
  • 11
8
votes
3 answers

Why is the TUX Web Server Dead? Does Nginx/Lighttpd/Epoll/Kqueue Replace it?

I recall a very fast kernel module for Linux called "TUX" for static files to answer IIS's superior-to-Linux static file web-serving performance and solve the "C10K problem." Now I keep seeing: Nginx Lighttpd CDNs ... for "fast static…
Jaimie Sirovich
  • 1,088
  • 2
  • 10
  • 14
8
votes
4 answers

What do you recommend for setting up a shared server with php

What do you recommend for setting up a shared server with php from a security/performance point of view? Apache mod_php (how do you secure that? other than safe_mode as it won't be in PHP6) Apache CGI + suexec Lighttpd and spawn a FastCGI per…
daniels
  • 18,416
  • 31
  • 103
  • 173
8
votes
2 answers

Make lighttpd listen on multiple ports

I have a lighttpd server running on an AWS EC2 instance. It can serve on port 80 (or any other port, if I change server.port in /etc/lighttpd/lighttpd.conf) with no problems. However, when I serve an alternative document-root on a different port…
scubbo
  • 4,969
  • 7
  • 40
  • 71
8
votes
1 answer

Lighttpd: Let sub-path point to different document root

I have a lighttpd-Setup pointing to the document-root /var/www. However, I want the URL other/ to point to /some/other/dir. This I'm doing with the following config: $HTTP["url"] =~ "^/other($|/)" { server.document-root =…
sudoremo
  • 2,274
  • 2
  • 22
  • 39
8
votes
3 answers

nginx setup question

I know this is not directly a programming question, but people on stackoverflow seems to be able to answer any question. I have a server running Centos 5.2 64 bit. Pretty powerful dual core 2 server with 4GB memory. It mostly serves static files,…
Trausti Thor
  • 3,722
  • 31
  • 41
8
votes
1 answer

Redirecting websocket traffic on port 80 with lighttpd

I have a website hosted on lighttpd, accessible at the "www" subdomain. I also have a chat server listening on port 8124 made with node.js and socket.io. I want all client traffic to happen on port 80, by redirecting all requests to the "chat"…
lortabac
  • 589
  • 4
  • 16
7
votes
3 answers

$_GET and $_POST variables do not exist when using lighttpd web server

I installed lighttpd web server on my Windows computer and I have a problem: in PHP files no $_GET and $_POST variables are defined. For example I have this simple script (tmp.php): "; ?> When I go to…
Andrey Rubliov
  • 1,359
  • 2
  • 17
  • 24
7
votes
7 answers

Benchmarking Performance of node.js (cluster) with mysql pools : Lighttpd + PHP?

Edit(2): Now using db-mysql with generic-pool module. The error rate has dropped significantly and hovers at 13% but the throughput is still around 100 req/sec. Edit(1): After someone suggesting that ORDER BY RAND() would cause MySQL to be slow, I…
einthusan
  • 87
  • 1
  • 4
1
2
3
74 75