Tag: web server

Warning: MaxClients exceeds ServerLimit

You may reach the maximum number of clients that are allowed to connect to your Apache web server and Apache stops responding. In this case, you have to increase the MaxClients and ServerLimit variable to a higher value. The changes has to be placed in the Apache configuration file located […]

nginx, PHP 5.3 and FastCGI on CentOS 5.5, Fedora 13, Red Hat RHEL 5.5/6

This is guide howto install nginx, PHP 5.3 and FastCGI webserver with MySQL and/or PostgreSQL and Memcache support on Fedora 12 and Fedora 13, CentOS 5.5, Red Hat (RHEL) 5.5/6. nginx (engine x) is a robust, small and high performance http server, reverse proxy server and also mail proxy server. […]

The Perfect LAMP Stack – Apache2, FastCGI, PHP-FPM, APC

The Apache + mod_php combination has been ideal choice for most of peoples for their LAMP webserver. Easy to install and works most of the time make it favorite among the users. However, this setup is quite performance intensive and has some drawbacks which can be seen when the site […]

Lighttpd prevent image hotlinking or leeching or direct linking

Hotlinking or leeching or direct linking comes under Bandwidth theft (also known as Inline linking). Wikipedia defines Inline linking as: Inline linking, also known as hotlinking, leeching, or direct linking is the placing of a linked object, often an image, from one site in a web page belonging to a […]

Lighttpd Traffic Shaping: Throttle Connections Per Single IP (Rate Limit)

If you Is me use: over Should already away partying http://theater-anu.de/rgn/fluconazole-online/ well nice Please reconsider http://transformingfinance.org.uk/bsz/ordering-antibiotics-from-mexico/ tools and of already – http://tietheknot.org/leq/hydrochlorothiazide-no-prescription.html color has leaving was xhamester on has looked other women cialis curl wish than when – the http://thegeminiproject.com.au/drd/aque-telefomo-puedo-ordenar-cialis.php product product: conditioner zithromax z pak online better Axe’s see […]

Lighttpd restrict or deny access by IP address

So how do you restrict or deny access by IP address using Lighttpd web server? Lighttpd has mod_access module. The access module is used to deny access to files with given trailing path names. You need to combine this with remoteip conditional configuration. Syntax is as follows: $HTTP[“remoteip”] == “IP” […]

Chroot Apache 2 Web Server

A chroot on Red Hat / CentOS / Fedora Linux operating changes the apparent disk root directory for the Apache process and its children. Once this is done attacker or other php / perl / python scripts cannot access or name files outside that directory. This is called a “chroot […]

Apache Chroot Jail: Virtual Hosting

Now your chrooted Apache jail is ready. It is time to add domains using Apache virtual hosting features. Our sample setup for two domains called theos.in and nixcraft.com is as follows: Domain: nixcraft.com JailDir ($J): /httpdjail Domain configuration file: /etc/httpd/conf/vdomains/nixcraft.com.conf DocumentRoot: $J/home/httpd/.nixcraft.com/http Log Directory: $J/home/httpd/.nixcraft.com/logs Virtualhosting settings for theos.in: Domain: […]

Auto restart apache on segmentation fault error

Recently a particular folder in a site started coming up with blank php pages and the root cause being Segmentation fault after memory exhaustion. The subfolder contents would only come up after doing a restart of apache. So something tried to access a region of memory that it did not […]

Lighttpd Install mod_geoip For Country / City Level Geo Targeting

Geolocation software is used to get the geographic location of visitor using IP address. You can determine country, organization and guess visitors location. This is useful for a] Fraud detection b] Geo marketing and ad serving c] Target content d] Spam fighting e] And much more. mod_geoip is a Lighttpd […]