Archive for the 'lighttpd' Category
- Lighttpd run php from different host using mod_proxy / mod_fastcgi
Lighttpd allows you to run php from different hosts. This is quite useful:
a] If you want to run php 4 locally and php 5 from remote host
b] Load balancing dynamic content
c] Added layer for security for chrooted jails etc
If you would like to run wikipedia / sf.net like site, you can use this technique. You [...] - FreeBSD Install Lighttpd Web Server
I’ve received couple of request about running Lighttpd web server under FreeBSD:
How do I install Lighttpd web server under FreeBSD along with MySQL 5 and PHP5?
lighttpd a secure, fast, compliant and very flexible web-server which has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care [...] - Lighttpd webserver wordpress image uploading problem - offers inline.php as download options
You can easily upload small files but large upload fails and offers inline.php as download option.
This error is caused because of improper php configuration. Make sure upload_tmp_dir is set and webserver user such as httpd/nobody/lighttpd can write to this directory.
$ grep upload_tmp_dir /etc/php.in
Set upload_tmp_dir to /tmp or /var/tmp:
upload_tmp_dir = /var/tmp
Next make sure web sever [...] - Can someone steal my PHP script without hacking server?
Adarsh asks:
Can someone steal my PHP code or program without hacking my Linux box? Can someone snoop script over plain HTTP session?Short answer is no. PHP is server side thingy.
However a misconfigured webserver can easily give out php file to all end users. You need to make sure that mod_php / mod_fastcgi loaded and correct [...] - Lighttpd client side optimization with mod_expire to controls the expire http header
The last time I wrote about Lighttpd optimization tips here and here.
You must optimize server side as well as client side. Client side optimization includes CSS code, javascript and images as they would hardly change.
We can force client web browser not to download files for particular day / hour.
Lighttpd comes with mod_expire which controls [...] - Lighttpd 1.5 fastcgi php mod proxy backend fastcgi configuration howto
Old version 1.4.xx has mod_fastcgi for PHP. This module has been replaced by mod_proxy_backend_fastcgi and mod_proxy_core in Lighttpd 1.5.xx.
FastCGI was developed by FastCGI and is a binary container around HTTP requests which reduces the parsing overhead.
FastCGI used for both PHP and rails application. In this small howto I will explain howto configure PHP under Lighttpd [...] - Lighttpd Mediawiki wiki SEO rules and installation
MediaWiki is a web-based wiki software application used by famous wikipedia project. This software is quite famous and scales very well.
Installing mediawiki under Lighttpd is quite simple. If you need clean SEO urls; just follow these instructions.
Download and install wiki software in your domain directory. For example install software under /home/lighttpd/theos.in/http/w directory.
Download mediawiki
Visit official site [...] - Open Source Parking Spoofing Headers to Benefit Apache
OpenSourceParking.com is a domain parking service that helps Free Software and Open Source. Domain parking provides a place-holder web page for an undeveloped domain name.
According to netcraft:
An open source initiative to reverse gains for Microsoft web server software appears to be using edited server headers to try and improve the showing of the Apache [...] - Turbo charge lighttpd with Linux AIO - Gain more performance
Support for Linux kernel AIO (Asynchronous I/O) has been included in the version 2.6. By enabling Lighttpd AIO you can gain good performance gain. But what is AIO?
Usually your application needs to wait till I/O call is finished. AIO enables even a single application thread to overlap I/O operations with other processing, by providing an [...] - Redhat Enterprise Linux 5 - lighttpd 1.5.0 installation
Lighttpd 1.5.0 pre release is now available for download. There are some nice and good features. Many things have been improved, changed and added. New mod-proxy-core is much better as compare to old mod-fastcgi/mod_cgi.
On other hand Redhat Enterprise Linux 5 comes with
=> PHP5 fastcgi binary (/usr/bin/php-cgi)
=> MySQL 5
=> And nice latest and stable stuff.
My old [...]
Viewing 31-40 of 82 posts.
« Previous Page — Next Page »


Recent Comments
Today ~ 160 Comments
Today ~ 5 Comments
Yesterday ~ 6 Comments
Yesterday ~ 4 Comments
Yesterday ~ 1 Comment