<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Richard Lord &#187; Apache</title>
	<atom:link href="http://www.richardlord.net/blog/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://www.richardlord.net</link>
	<description>Actionscript/Flex, PHP and Java developer</description>
	<lastBuildDate>Fri, 25 Jun 2010 07:34:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>cPanel WebHost Manager confusion</title>
		<link>http://www.richardlord.net/blog/cpanel-webhost-manager-confusion</link>
		<comments>http://www.richardlord.net/blog/cpanel-webhost-manager-confusion#comments</comments>
		<pubDate>Fri, 25 Aug 2006 12:32:38 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.bigroom.co.uk/blog/cpanel-webhost-manager-confusion/</guid>
		<description><![CDATA[<p>Whilst doing recent work on a client's webservers I hit some major confusion. They seemed to have Apache 2.0.22 installed but the server claimed to be Apache 1.3.37! Various other odd things were going on but this was the strangest...</p>]]></description>
			<content:encoded><![CDATA[<p>Whilst doing recent work on a client&#8217;s webservers I hit some major confusion. They seemed to have Apache 2.0.22 installed but the server claimed to be Apache 1.3.37! Various other odd things were going on but this was the strangest. The reason &#8211; this was my first experience with <a href="http://www.cpanel.net/products/cPanelandWHM/linux/whmov.htm">WebHost Manager</a> (WHM) by cPanel.</p>

<p>Further investigation revealed that the standard install of Apache 2.0.22 was present but not running, and they also had Apache 1.3.37 installed in a non-standard location, and both yum and rpm knew nothing about it (the client uses <a href="http://www.centos.org/">CentOS</a>), hence I hadn&#8217;t noticed it at first. Had I known more about WHM I&#8217;d have known immediately what was happening.</p>

<p>WHM is a piece of software for making linux servers easy to manage over a web interface. As such it seems to do a good job (I don&#8217;t have a lot of experience with it so can&#8217;t recommend or reject it). But, to do it&#8217;s work it adjusts many features of the server including the locations in which software is installed, and it doesn&#8217;t use the server&#8217;s package manager to install the software so the package manager will usually know nothing about the software. This isn&#8217;t a problem if you do all your work through WHM and cPanel, but once you mix this with direct interaction with the server OS to install and configure software the non-standard set-up generated by WHM can be confusing.</p>

<p>As an example, <a href="../apache-devel-1337-rpm/">I mentioned yesterday</a> my problems finding the apache-devel-1.3.37.rpm package to install. I thought I needed this because, having found that Apache 1.3.37 was installed, I thought that apxs wasn&#8217;t present. apxs is a tool for building Apache modules and that&#8217;s exactly what I needed to do but calling apxs resulted in a &#8220;command not found&#8221; error. However, in reality apxs was installed, it&#8217;s just that the shell didn&#8217;t know about it. Referring to it by its full path (/usr/local/apache/bin/apxs) worked fine.</p>

<p>So if your installing and configuring software on a server that is running WHM, don&#8217;t assume software will be where you expect it to be.</p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/cpanel-webhost-manager-confusion/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where to find apache-devel-1.3.37.rpm</title>
		<link>http://www.richardlord.net/blog/apache-devel-1337-rpm</link>
		<comments>http://www.richardlord.net/blog/apache-devel-1337-rpm#comments</comments>
		<pubDate>Thu, 24 Aug 2006 18:41:27 +0000</pubDate>
		<dc:creator>Richard</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.bigroom.co.uk/blog/apache-devel-1337-rpm/</guid>
		<description><![CDATA[<p>I should have been easy. You would have thought rpm packages of apxs and the development headers for the latest version of Apache 1.3 would be found all over the web, but no. Seems all the Redhat, Fedora, CentOS etc. servers are using Apache2. Except, of course, for my client...</p>]]></description>
			<content:encoded><![CDATA[<p>I should have been easy. You would have thought rpm packages of apxs and the development headers for the latest version of Apache 1.3 would be found all over the web, but no. Seems all the Redhat, Fedora, CentOS etc. servers are using Apache2. Except, of course, for my client. All I wanted to do was build and install the <a href="http://www.maxmind.com/app/mod_geoip">GeoIP Apache module</a> for them. After three hours hunting (I kept thinking &#8216;just build your own package&#8217;? but I couldn&#8217;t believe the package wasn&#8217;t out there) I found the package I need at the website for Northfield Linux Users&#8217; Group. I only mention this because the package was particularly hard to find and maybe this will help someone else in a similar situation. The package itself is here &#8211; <a href="http://mirror.datapipe.net/norlug/redhat-7.3/RPMS/">apache-devel-1.3.37-1.norlug.i386.rpm</a> &#8211; along with the main apache-1.3.37 rpm and various other useful stuff.</p>

<p>I was even more annoyed when I discovered I didn&#8217;t need the package after all, but <a href="../cpanel-webhost-manager-confusion/">more on that tomorrow</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.richardlord.net/blog/apache-devel-1337-rpm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
