Archive

Archive for the ‘Apache’ Category

Patching Apache’s Suexec Module Improved

January 5th, 2008 No comments

This tutorial improves on my last tutorial Patching Apache’s Suexec Module by adding in alternate docroots and a trusted uid/gid to check when the uid/gid mismatch. This is an added security measure over just ignoring the uid/gid check or using / as the docroot. If you haven’t read my previous tutorial the following quote should bring you up to speed. Read more…

Categories: Apache, Linux Tags:

Patching Apache’s Suexec Module

November 30th, 2007 No comments

Apache’s suexec module is useful for running CGI and SSI scripts as a defined user. However all scripts must be located under the compiled in docroot and the uid/gid of the user running the script must match the script’s uid/gid.

This can be a problem if you have a shared CGI app like awstats as unless you make each user a copy the uid/gid will not match. Not to mention that the docroot on Fedora is /var/www so if you want to store your virtual hosts elsewhere your out of luck. Not to worry recompiling apache isn’t as hard as you might think. Read more…

Categories: Apache, Linux Tags:

Virtual Web Site Hosting

November 4th, 2007 1 comment

A common practice is to use one apache server to host websites for multiple domain names. Apache supports virtual servers out of the box making this easy to setup. This tutorial is based on Fedora Core 5, but should apply to most other linux distros. Read more…

Categories: Apache, Linux Tags:

Reverse Proxy Apache 2

October 13th, 2006 No comments

There is a good amount of information on setting up a reverse proxy with apache. One of the better articles I came across was on Apache Week. The downfall to these articles is that most reference ProxyHTMLURLMap, part of the mod_proxy_html module, which is not included in the httpd rpm with Fedora Core. Read more…

Categories: Apache, Linux Tags:

Setting up SSL with Apache 2

October 13th, 2006 No comments

I’m going to assume you have a working install of Apache 2. I’ve based this off Fedora Core 5, however it should apply to most distros. Lets get started installing the ssl module. Read more…

Categories: Apache, Linux Tags: