#apache

28 bookmarks tagged with #apache · RSS Feed · ← All Tags

HOWTO: Log Client IP AND X-Forwarded-For IP in Apache - Techstacks HOWTO's

http://www.techstacks.com/howto/log-client-ip-and-xforwardedfor-ip-in-apache.html
1 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 2 LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy 3 SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded 4 CustomLog "logs/access_log" combined env=!forwarded 5 CustomLog "logs/access_log" proxy env=forwarded

NGINX + PHP-FPM + APC = Awesome

http://interfacelab.com/nginx-php-fpm-apc-awesome
"The following guide will walk you through setting up possibly the fastest way to serve PHP known to man. If there is a faster way, I’ve not yet found it climbing through zillions of blog posts out there on the subject. In this article, we’ll be installing nginx http server, PHP with the PHP-FPM patches, as well as APC. The end result? Pure awesome."

How to Fix CGI - majordojo

http://www.majordojo.com/2007/11/how-to-fix-cgi.php
"the goal of mod_perlite is to run single Perl scripts in the Apache process space, caching Perl bytecode as it goes, but flushing script memory after every request. Installation is also incredibly simple, and 100% analogous to PHP installation."

90% Crud: Notes on mod_security vs. spam

http://george.hotelling.net/90percent/geekery/notes_on_mod_security_vs_spam.php
"I'm using mod_security because my server has lots of different blogging tools installed, and there's no way to centrally protect them all. This won't take care of all comment or trackback spam, but I'm hoping it will greatly reduce the amount we get. Als