Control-Escape's Linux Help Engine

 Control-Escape

Improve LAMP security with mod_proxy

Thursday, December 14, 2006

If you are a webmaster who hosts sites for other people, whether they are customers or just friends and family, you may have been in the situation where one person's bad code brought down the whole server. Even if that hasn't happened, there are security risks inherent in shared hosting.

Nick Maynard at IBM has written Improve LAMP security with Apache Proxy's directive (mod_proxy), showing how virtual hosting with multiple user IDs is possible. The article takes as its premise that you are using Apache's mod_php rather that plain CGI scripts, and therefor the "suExec" option will not work for you. The techniques that he describes are not limited to use in a PHP environment. I have used a similar setup to host multiple mod_perl developers on the same system without stomping on each other.

This is an excellent how-to for webmasters, complete with example configuration files, detailed explanation, and numerous links to additional sources. Highly recommended.

Labels:

Configuring Apache 2 on Debian, Ubuntu

Tuesday, December 12, 2006
I've just posted a new how-to article on Control-Escape.com: Configuring Apache 2 on Debian, Ubuntu, in which we explore the peculiar configuration layout of Apache version 2.0 on Debian systems. I read somewhere (sorry, I have lost the link) that this layout is something of a consternation to the upstream Apache folks who try to give support. I hope this article will throw a little light on the subject and help budding webmasters help themselves a little better. Happy reading!

Labels:


Creative Commons License © Copyright 1998-2010 by Vincent Veselosky. Unless otherwise noted, the text content of this work is licensed under the Creative Commons Attribution-Share Alike 2.5 License. Please see the Control-Escape License page for details.