public marks

PUBLIC MARKS from camel with tag apache

November 2008

limitipconn2

This is an Apache 2.2 C module whose purpose is to limit the maximum number of simultaneous connections per IP address. The module allows inclusion and exclusion of files based on MIME type.

Suivre l’activité de Googlebot sur votre site grâce aux logs Apache

(via)
Le suivi de l’activité des robots des moteurs de recherche sur votre site, et tout particulièrement du Googlebot, fait partie intégrante d’un bon référencement. Certes, Google mets à disposition des éditeurs depuis quelque temps déjà une série d’outils de suivi, les Google Webmaster Tools (GWT). C’est bien, mais pas toujours très complet et les mises à jours souvent aléatoires… Les webmasters ont pourtant tout ce qu’il faut sous la main pour avoir des stats précises et surtout en temps réel pour suivre les bots : les logs du serveur Apache, souvent les meilleurs amis du référenceur !

Apache Mod-Rewrite

Bienvenue sur apache-mod-rewrite.fr. Ce site regroupe de nombreuses ressources pour comprendre et utiliser le module Apache mod-rewrite. Ce dernier permet de réutiliser les URL d'accès à votre serveur d'une façon contrôlée par vous. Vous trouverez en parcourant ces pages de nombreuses utilisations (basiques comme avancées) de ce module. Pourquoi ce site ? Le module Apache mod-rewrite est très puissant. Il s'agit d'un outils très souvent utilisé en référencement par exemple, afin de donner aux moteurs de recherches des adresses web plus "humaines" (on parle souvent d'URL Rewriting, en français : Réécriture d'URL). Il permet aussi d'empêcher l'accès à votre serveur pour certaines adresse IP, ou bien de réserver l'accès à certaines de vos pages à votre PC uniquement (ciblage sur l'adresse IP). Ce site a été conçu pour vous donner les bases élémentaires concernant ce module. Une mauvaise utilisation conduit rapidement à une instabilité de votre serveur web. Nous avons décidé d'être les plus pédagogues possible en insistant sur les points délicats de la mise en place des règles du module. Que trouverez-vous sur ce site ? Nous avons essayer de regrouper sur nos pages les astuces les plus courantes et les plus utiles pour un webmaster ou un administrateur web. Vous pourrez lire entre autres comment : * Réécrire vos URL : remplacer les adresses web de vos pages dynamiques de style votre_ndd.fr/index.php?option=artcile&id=12 par votre_ndd.fr/article/12 * Gérer les redirections de façon propre * Empêcher l'utilisation de vos médias (vidéos, images, mp3, ...) par d'autres sites web, ceci afin de garder pour vous la bande passante de votre site web. Petit à petit, avec vos remarques et vos contributions, nous augmenterons le nombre de tutoriels (un tutorial, des tutoriels et pas tutoriaux Wink) et d'exemples concrets.

Web Services : Avoir le rèflexe mise en cache pour optimiser la charge serveur - PHP.Pro Blog

(via)
Vous avez développé votre tout dernier web service destinés à être utilisé par 2 ou 3 autres équipes en interne (voire en externe par des partenaires). Il (le web service) fonctionne bien, tellement bien, que vous commencez à avoir plusieurs dizaines de requêtes par jour. Vous n'aviez pas forcément optimisé les performances du web service, les temps de réponses ne sont pas au beau fixe car vous chargez 150 classes PHP qui sont nécessaires au tout dernier framework à la mode pour accéder à une table de base de données et faire une requête select sur un champ avec une clé primaire pour retourner la fiche descriptive d'un utilisateur, d'un partenaire ou d'un produit. Ou bien, pire encore, pour renvoyez votre catalogue de produits qui fait 150Ko une fois transformé au format XML.

October 2008

Steve.org.uk - asql - Apache SQL querying

by 1 other
asql is a simple console shell which allows you to run SQL queries against an Apache logfile, something that can be very useful - especially at getting information which is not easily available via static logfile analysers.

cleverbox - clever-age.org - Open Source Software - Trac

by 1 other
The cleverbox provides an interactive command line shell dedicated to the deployment and maintenance of trac and subversion instances. It can handle multiple configuration profiles, enabling the deployment of differently flavored type of project (trac configuration and permissions, apache configuration templates, etc). Project's main objective is to make your life as simple as possible. Thus, it comes with easy installation, easy upgrades and a comprehensive documentation.

Sécurité avancée du serveur web Apache : mod_security et mod_dosevasive » UNIX Garden

Le serveur Apache n'est plus à présenter et propose nombre d'options liées à la sécurité en soi [1]. Pour autant, des modules tiers permettent d'étendre ses possibilités, que ce soit en termes de filtrage des requêtes et des réponses ou pour contrer les attaques visant à surcharger le serveur. Cet article présente deux de ces modules : mod_security et mod_dosevasive. Tout au long de l'article, nous prendrons l'exemple d'un proxy entrant, mais ces exemples sont bien sûr facilement transposables à un serveur web. mod_security : validation et filtrage des échanges

Speeqe – Trac

Speeqe is a web based, group chat client that works with the XMPP/MUC protocol. It is chat made simple. The goal is to give the user the best and easiest experience in creating chat rooms. It is a combination of javascript and python code using a collection of open source software and software tools. This collection is nginx or apache for a frontend. The frontend serves the webclient which is javascript using Strophe and JQuery. It also proxies to Punjab for the BOSH connection to connect to XMPP based servers. To tie it all together there is a small amount of django. Features ¶ HTML/javascript client Themable (all UI is in one html file) Inline images. Inline youtube videos. Kick,ban,unban support. Room configuration. DNS named rooms (ie http://speeqers.speeqe.com will go to the room speeqers@…) Ability to connect to federated XMPP servers and chat rooms.

Tentakel to execute commands on multiple Linux or UNIX Servers

Many times, you want to execute a command not only on one server, but also on several servers. For example, find out * Version of kernel * Version of Apache web server * Update static html or images files on all web servers via rsync * Find out user information, server information, memory usage etc * Security/patch checking tentakel I have already covered how to execute commands on multiple Linux or UNIX servers via shell script. The disadvantage of script is commands do not run in parallel on all servers. However, several tools exist to automate this procedure in parallel. With the help of tool called tentakel, you run distributed command execution. It is a program for executing the same command on many hosts in parallel using ssh (it supports other methods too). Main advantage is you can create several sets of servers according requirements. For example webserver group, mail server group, home servers group etc. The command is executed in parallel on all servers in this group (time saving). By default, every result is printed to stdout (screen). The output format can be defined for each group.

September 2008

Mod_Rewrite Variables Cheatsheet

by 1 other
This article is meant to prepare us for the advanced mod_rewrite examples that are soon to be published. The upcoming article is going to be examples using mod_rewrite to achieve some crazy stuff… Here the focus is on identifying mod_rewrite variables and defining the limits of the module by checking the mod_rewrite source code.

apache-scalp - Google Code

by 2 others (via)
Scalp! est un analyseur de logs Apache qui sert dans la recherche de problèmes de sécurité et de tentatives d'intrusions, il est basé sur des requêtes du même style que celles du utilisées dans le projet PHP-IDS

How To Manage Apache Resources Limits With mod_slotlimit (Debian Etch) | HowtoForge - Linux Howtos and Tutorials

mod_slotlimit is an Apache module that using dynamic slot allocation algorithm and static rules, can manage resources used for each running site.

August 2008

Linux.com :: Using free software for HTTP load testing

by 1 other (via)
A good way to see how your Web applications and server will behave under high load is by testing them with a simulated load. We tested several free software tools that do such testing to see which work best for what kinds of sites. If you leave out the load-testing packages that are no longer maintained, non-free, or fail the installation process in some obscure way, you are left with five candidates: curl-loader, httperf, Siege, Tsung, and Apache JMeter.

Running Vhosts Under Separate UIDs/GIDs With Apache2 mpm-peruser On Debian Etch | HowtoForge - Linux Howtos and Tutorials

by 1 other (via)
This article explains how you can install and configure apache2-mpm-peruser on a Debian Etch server. apache2-mpm-peruser is an MPM (Multi-Processing Module) for the Apache 2 web server, very similar to apache2-mpm-itk, but faster (almost as fast as apache2-mpm-prefork). mpm-peruser allows you to run each of your vhosts under a separate UID and GID - in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts. It is based on metuxmpm, a working implementation of the perchild MPM. The result is a sane and secure web server environment for your users, without kludges like PHP's safe_mode.

Installing ModSecurity2 On Debian Etch | HowtoForge - Linux Howtos and Tutorials

by 2 others
This article shows how to install and configure ModSecurity (version 2) for use with Apache2 on a Debian Etch system. ModSecurity is an Apache module that provides intrusion detection and prevention for web applications. It aims at shielding web applications from known and unknown attacks, such as SQL injection attacks, cross-site scripting, path traversal attacks, etc. I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!

July 2008

How To Block Spammers/Hackers With mod_defensible On Apache2 (Debian Etch) | HowtoForge - Linux Howtos and Tutorials

mod_defensible is an Apache 2.x module intended to block spammers/hackers/script kiddies using DNSBL servers. It will look at the client IP and check it in one or several DNSBL servers and return a 403 Forbidden page to the client. This guide shows how to install and use it with Apache 2 on a Debian Etch server.

June 2008

wtop - Google Code

by 1 other
wtop is really cool application for web server log analysis and to see server stats at a glance. It also has powerful log grepping capability. It is just like 'top' for your webserver. It can find out number of searches or signups per seconds. It can also create histogram of response time. There is also another tool called logrep a powerful command-line program for ad-hoc analysis and filtering for log files. You can dig up lots of information using wtop tools.

How To Set Up A Loadbalanced High-Availability Apache Cluster Based On Ubuntu 8.04 LTS | HowtoForge - Linux Howtos and Tutorials

This tutorial shows how to set up a two-node Apache web server cluster that provides high-availability. In front of the Apache cluster we create a load balancer that splits up incoming requests between the two Apache nodes. Because we do not want the load balancer to become another "Single Point Of Failure", we must provide high-availability for the load balancer, too. Therefore our load balancer will in fact consist out of two load balancer nodes that monitor each other using heartbeat, and if one load balancer fails, the other takes over silently.

Url Rewriting, Regex: actualité, tutoriel, download

by 3 others
Réécrire les URLs est un atout d'importance pour les sites web qui présentent de l'information ou des produits à vendre. La Réécriture d'URL sécurise les pages en masquant les variables passées en argument, offre des indications supplémentaires et complémentaires aux utilisateurs et aux gros moteurs de recherche, permet la création de fil d'Ariane virtuel, facilite la mémorisation des liens et bien plus encore… Vous trouverez sur ce site l'ensemble les ressources indispensables à la construction d'URL réécrites.