0
votes
1answer
71 views

convert lighttpd to nginx rewrite rules

I'm trying hard to make my code work on nginx. This configuration works with lighttpd but I want migrate it to nginx. Rewrite rules on lighttd : url.rewrite-once = ( "^/(ui)/(.*)$" => ...
1
vote
0answers
44 views

How to convert RewriteCond rules so they work in Lighttpd?

How can I convert this Apache rewrite rules so they work on Lighttpd? This is in fact a .htaccess file, and I need to put those in a lighttpd.conf file. Options +FollowSymLinks RewriteEngine on ...
0
votes
0answers
134 views

How to convert this .htaccess to Lighttpd?

I converted .htaccess below to Lighttpd but it doesn't work. What mistake did I make? You can find original .htaccess below, and the file I converted below it. Original .htaccess: RewriteEngine On ...
0
votes
0answers
37 views

Balancing server bandwith

I am working on a file uploading website. It will be run on dedicated server with 1GBPS connection. I wanna offer visitors max download speed possible at the current moment. So lets say server can ...
0
votes
0answers
76 views

Lighttpd & Scientific Linux

Not sure if this is the best place to ask a general question ... (please feel free to delete it if it's not appropriate for this forum. or let me know if there's a more appropriate forum, thanks) At ...
0
votes
1answer
161 views

PHP processes keep overwhelming my server, eating up the CPU and making it lock up :(

I have a Debian Squeeze Lighttpd server with PHP and MySQL, and also with XCache and Varnish set up. I am quite new to this, but have tried as hard as I can to resolve this problem with no success. ...
0
votes
1answer
162 views

lighttpd: weird behavior on multiple rewrite rule matches

I have a 20-rewrite.conf for my php application looking like this: $HTTP["host"] =~ "www.mydomain.com" { url.rewrite-once += ( "^/(img|css)/.*" => "$0", ".*" => ...
1
vote
1answer
200 views

mono 3.0.2 + xsp + lighttpd delivers empty page

I needed MVC 4 (and basic .NET 4.5) support so I downloaded mono 3.0.2 and deployed it on an lighttpd 1.4.28 installation, together with xsp-2.10.2 (was the latest I could find). After going through ...
1
vote
0answers
40 views

Most scalable way of serving a small set of static HTTP content [closed]

The story: Hi guys. I'm among the people responsible for serving the results of the most anticipated (by number of people participating) annual entrance exam in my state. As such, when our results are ...
0
votes
2answers
358 views

lighttpd redirect certain links to certain urls

Could someone tell me how / why is this redirect not working? $HTTP["host"] =~ ".*\\.mydomain\\.com" { url.redirect = ( "/index\.php\?pg=mysql" => ...
1
vote
0answers
162 views

Lighttpd mod_accesslog not logging fastcgi requests

I have recently installed a lighttpd for serving a python script via mod_fastcgi. Everything works fine except that I don't get the requests handled by mod_fastcgi logged in the access.log file ...
2
votes
1answer
674 views

file_get_contents url wrappers work on cli but not cgi

I have a big problem. I have just upgraded to a new dedicated server running Plesk 10, and Ubuntu 11.04 and my scripts can't run file_get_contents or curl to external urls in cgi mode. ...
0
votes
2answers
1k views

Samba permissions for copied files

I have Samba running on a plug computer running Debian Squeeze which I'm trying to configure to act as a web-based file server. The machine runs Lighttpd for the web server, and Samba for the file ...
1
vote
2answers
104 views

Lighttpd based server issues crop up when port forwarding

I have four host computers running lighttpd webservers. they are sitting behind a hspa modem, which each occupying a http port between [81 - 84]. 80 is taken by the modem itself. The port forwarding ...
4
votes
2answers
2k views

Is nginx good for dynamic content?

I want an alternative for apache, lighthttpd has memory leaks problems so i can't go for it, i keep reading that nginx is good for static content but is it good for php-mysql dynamic video sharing ...
0
votes
1answer
603 views

lighttpd: opening errorlog failed: Permission denied

this happens when I restart the lighttpd and it backups the old log and creates new one. Is there any way so I don't have to changed permissions or ownership for that file every time the server is ...
0
votes
1answer
427 views

PHP-FPM wasting CPU 100%

I ran ab -n 100 -c 10 http://www.mywebsite.com/category/page to test the lighttpd-php-fpm performances. In this websites I have installed the last version of wordpress, the server is fast! I'm ...
0
votes
1answer
499 views

Segmentation fault lighttpd

Hey guys, I can't figure this out, when I add the fastcgi module to lighttpd when I try to connect to a php page, I get a segmentation fault error. Nothing is in the error log, and nothing else is ...
2
votes
1answer
392 views

Analyzing a loaded lighttpd server serving from NFS

Context: Server is a CentOS 5.2 x86_64 virtual machine with vmxnet3 ifaces, running on VSphere 4.1 on a Nehalem-based server (which is at half cpu and memory capacity according to the VCenter) with ...
0
votes
4answers
3k views

Lighttpd Virtual Host Error

gah, I just noticed, the lighttpd config is somehow corrupted. It was literally working fine 3 hours ago. Starting lighttpd: Undefined config variable: var.home_dir 2010-08-29 17:29:31: ...
0
votes
1answer
345 views

lighttpd start/stop/restart script doesn't work

I want to restart lighttpd using */lighttpd restart command, but nothing happens, no message, error, just a new cli line waiting for command. I've examined lighttpd file and lighttpd.conf and they ...
1
vote
2answers
673 views

How to monitor streaming servers

I have had a bunch of Linux based streaming servers that employed lighttpd web server to provide video streaming via port 80. Recently, our service is very slow. Therefore, I would like to ask if ...
2
votes
2answers
172 views

CentOS 5.0 with Ligthttpd notices high traffic without reason

I have a CentOS 5 with Lightppd installed. Also I have MySQL on board. I lately discovered high traffic: http://img686.imageshack.us/img686/8596/traff.jpg Could you please tell me how to diagnose ...
1
vote
2answers
445 views

What's the best way to secure lighttpd per fcgi-php app?

I have a machine with lighttpd and evhost setup. All the evhost contain various php apps like wordpress, drupal etc. If one of the php apps gets compromised the attacker will have access to all the ...
5
votes
4answers
10k views

Memory usage of php-cgi processes is growing steadily

I'm trying to set up a web server on a VPS. My problem is that memory usage of php-cgi processes increases over time even though the website is not receiving any traffic at all. (it is behind a ...
9
votes
2answers
688 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 ...
4
votes
3answers
6k views

Lighttpd not cleanly restarting (address already in use)

When doing a dist-upgrade recently, my lighttpd-1.4.19 install on Ubuntu 8.0.4 has begun failing to restart or reload properly with the /etc/init.d/lighttpd restart command. ~$ sudo ...
2
votes
2answers
511 views

Recommend books/resources for this stack: linux, lighttpd, postgres, webpy

I'm trying to learn to run a simple server (and python simultaneously, but that's beside the point). The tutorials available at the websites of the aforementioned technologies were enough to get the ...