<?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>SPWD &#187; Apache</title>
	<atom:link href="http://www.southplattewebdesign.com/category/servers/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.southplattewebdesign.com</link>
	<description>Modern Web Development</description>
	<lastBuildDate>Thu, 10 Jun 2010 05:48:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Server move successful</title>
		<link>http://www.southplattewebdesign.com/2010/02/04/server-move-successful/</link>
		<comments>http://www.southplattewebdesign.com/2010/02/04/server-move-successful/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 07:31:03 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[General Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Off-Topic]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Operating system]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=655</guid>
		<description><![CDATA[



Image via Wikipedia



On February 2, 2010 I finally completed the server move to the new co-location facility.  I had, in the prior weeks, backup all data and files, did a clean install of the operating system and restored all functionality to the server.  The new facility will not only help achieve faster load [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 310px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:Server_Linux.jpg"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Server_Linux.jpg/300px-Server_Linux.jpg" alt="Servers designed for Linux" title="Servers designed for Linux" width="300" height="228"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:Server_Linux.jpg">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>On February 2, 2010 I finally completed the server move to the new co-location facility.  I had, in the prior weeks, backup all data and files, did a clean install of the operating system and restored all functionality to the server.  The new facility will not only help achieve faster load times, but a much better environment for the server than sitting at my house under my desk.  With this move you all should notice faster page load, better usability and the RSS feeds hopefully will load and refresh across the Net faster.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/8728b278-3931-4519-8bc6-4a7a9ae276ef/" title="Reblog this post [with Zemanta]"><img style="border: medium none; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=8728b278-3931-4519-8bc6-4a7a9ae276ef" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2010/02/04/server-move-successful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Going Offline For A Few Hours</title>
		<link>http://www.southplattewebdesign.com/2010/01/21/server-going-offline-for-a-few-hours/</link>
		<comments>http://www.southplattewebdesign.com/2010/01/21/server-going-offline-for-a-few-hours/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 07:58:38 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[General Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=652</guid>
		<description><![CDATA[



Image via Wikipedia



Sometime within the next week I will be taking this server offline so I may perform some system maintenance and upgrades.  At that time, I will also be locating it in a new data center so the actual speed will be what it should be and the performance should be increased dramatically.
There [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl style="width: 310px;" class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://commons.wikipedia.org/wiki/Image:Ubuntu_7.04_Feisty_Fawn.png"><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Ubuntu_7.04_Feisty_Fawn.png/300px-Ubuntu_7.04_Feisty_Fawn.png" alt="Ubuntu 7." title="Ubuntu 7." height="240" width="300"></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image via <a href="http://commons.wikipedia.org/wiki/Image:Ubuntu_7.04_Feisty_Fawn.png">Wikipedia</a></dd>
</dl>
</div>
</div>
<p>Sometime within the next week I will be taking this server offline so I may perform some system maintenance and upgrades.  At that time, I will also be locating it in a new data center so the actual speed will be what it should be and the performance should be increased dramatically.</p>
<p>There will be many system updates taking place at that time &#8211; some of them will include a complete Linux upgrade, Wordpress upgrades, database upgrades and more.  Most of these items will be performed in multitude to lessen the down time.</p>
<p>Once all the upgrades are done, within a day or two after I will be moving the server to a new data center.  This will allow the server to operate at a fast connection, with much more ability to serve the growing needs of several blogs and other sites hosted on it.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/4935699e-64f8-4222-837d-53701f67e056/" title="Reblog this post [with Zemanta]"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=4935699e-64f8-4222-837d-53701f67e056" alt="Reblog this post [with Zemanta]"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2010/01/21/server-going-offline-for-a-few-hours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update To New Server</title>
		<link>http://www.southplattewebdesign.com/2008/12/16/update-to-new-server/</link>
		<comments>http://www.southplattewebdesign.com/2008/12/16/update-to-new-server/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 00:53:32 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Monetization]]></category>
		<category><![CDATA[Plug-in]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=138</guid>
		<description><![CDATA[Well, as you can tell, I have placed a few adsense blocks on the site.  Have to try monetization at least a bit to offset the cost of the server.
Things seem to have gone pretty smoothly, and I am getting reports that the site load time is pretty decent, so that is a plus. [...]]]></description>
			<content:encoded><![CDATA[<p>Well, as you can tell, I have placed a few adsense blocks on the site.  Have to try monetization at least a bit to offset the cost of the server.</p>
<p>Things seem to have gone pretty smoothly, and I am getting reports that the site load time is pretty decent, so that is a plus.  I have most of the plug-ins I use reinstalled and configured, minus one or two of them that I chose to wait a bit on.  One of the nice things is, with the new server I have access to more updated software, which allows more functionality for use in the blog and other areas.</p>
<div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/02c15921-7bb6-423b-83b8-1e2d85b467f4/" title="Zemified by Zemanta"><img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=02c15921-7bb6-423b-83b8-1e2d85b467f4" alt="Reblog this post [with Zemanta]"></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2008/12/16/update-to-new-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTPD processes update</title>
		<link>http://www.southplattewebdesign.com/2008/04/30/httpd-processes-update/</link>
		<comments>http://www.southplattewebdesign.com/2008/04/30/httpd-processes-update/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 15:52:17 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=61</guid>
		<description><![CDATA[Last night after posting the previous post, I noticed that the httpd processes till consumed resources, but not near as much as before.  This leads me to believe that the RPC ping process that is controlled via PHP scripting is somehow spawning the child httpd processes that are causing the slow downs on the [...]]]></description>
			<content:encoded><![CDATA[<p>Last night after posting the previous post, I noticed that the httpd processes till consumed resources, but not near as much as before.  This leads me to believe that the RPC ping process that is controlled via PHP scripting is somehow spawning the child httpd processes that are causing the slow downs on the server.</p>
<p>As I have said, I am not too worried about it at this point, because I will be delivering the new server sometime in the next two weeks, so I won&#8217;t have to worry about it after that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2008/04/30/httpd-processes-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ping list updated &#8211; test post</title>
		<link>http://www.southplattewebdesign.com/2008/04/29/ping-list-updated-test-post/</link>
		<comments>http://www.southplattewebdesign.com/2008/04/29/ping-list-updated-test-post/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 04:20:25 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=60</guid>
		<description><![CDATA[I have removed all the URLs in my ping list and will now post this and check the CPU utilization during and after the post to see where the httpd process ends up.  It seems odd that posting would cause this, but nothing else on the server causes this, including other Wordpress installations.  [...]]]></description>
			<content:encoded><![CDATA[<p>I have removed all the URLs in my ping list and will now post this and check the CPU utilization during and after the post to see where the httpd process ends up.  It seems odd that posting would cause this, but nothing else on the server causes this, including other Wordpress installations.  The only difference that I know of outside of a few plugins is the ping list contents.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2008/04/29/ping-list-updated-test-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update to HTTPD processes running wild</title>
		<link>http://www.southplattewebdesign.com/2008/04/29/update-to-httpd-processes-running-wild/</link>
		<comments>http://www.southplattewebdesign.com/2008/04/29/update-to-httpd-processes-running-wild/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 04:09:17 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=59</guid>
		<description><![CDATA[I just updated the previous post by simply changing the title from Mblogging to Moblogging.  Needless to say I ended up with about 30 httpd processes, three of them going defunct and two of them eating up 98-99% of CPU availability.  Hmmm&#8230;..
I am going to try something, as when I post from this [...]]]></description>
			<content:encoded><![CDATA[<p>I just updated the previous post by simply changing the title from Mblogging to Moblogging.  Needless to say I ended up with about 30 httpd processes, three of them going defunct and two of them eating up 98-99% of CPU availability.  Hmmm&#8230;..</p>
<p>I am going to try something, as when I post from this blog (I host several other blogs and they seem to be working just fine) I have a rather lengthy list of ping services that I send pings out to.  I am wondering if maybe this list has some bad entries in it that is causing the traffic to bounce back and forth or something otherwise causing it to start trying to load several processes to handle it, thus bogging the server down by utilizing the CPU.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2008/04/29/update-to-httpd-processes-running-wild/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTPD Process going crazy</title>
		<link>http://www.southplattewebdesign.com/2008/04/28/httpd-process-going-crazy/</link>
		<comments>http://www.southplattewebdesign.com/2008/04/28/httpd-process-going-crazy/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 16:46:50 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[processes]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/?p=57</guid>
		<description><![CDATA[One of the things I have noticed on my aging server, which is going to be replace as soon as I can get my new one delivered to the data center where I do the co-location, is when I make a post from within WordPress, the HTTPD process seems to spawn anywhere from 5-8 children. [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I have noticed on my aging server, which is going to be replace as soon as I can get my new one delivered to the data center where I do the co-location, is when I make a post from within WordPress, the HTTPD process seems to spawn anywhere from 5-8 children.   These each then eat up 4-5% cpu process and 7.5-15 MB memory.</p>
<p>I am not sure why this is, but it then makes the server slow to a crawl on serving web pages, as the HTTPD process is completely maxed and running many children.  I can understand that during the post it may need to do this, but after the post is done, and the page is reloaded the processes should go back down, but they are not doing that.  And it is only when posting through WordPress that I find it does this.  All of the various forum software I have ran on the server has never done this, nor has anything else that I have tried on here.  And it seems to have only started after I did the upgrade to Wordpress 2.2.3 at the beginning of the year.</p>
<p>Case in point &#8211; I just made a post, and I now have close to 23 instances of HTTPD running on the server and it is not loading any pages (I am restarting the httpd daemon before hitting publish on this post).  So I will be glad to get the new server online and get past this, since I have not had the time to find out why it is doing that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2008/04/28/httpd-process-going-crazy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XHTML, PHP, Validation and Browsers</title>
		<link>http://www.southplattewebdesign.com/2007/09/27/xhtml-php-validation-and-browsers/</link>
		<comments>http://www.southplattewebdesign.com/2007/09/27/xhtml-php-validation-and-browsers/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 22:09:29 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.southplattewebdesign.com/2007/09/27/xhtml-php-validation-and-browsers/</guid>
		<description><![CDATA[Recently for a school project I was working on, I had to develop an XTHML 1.1 Strict validated page and a validated CSS to style the page.  This was not a problem in and of itself, however there were several problems that I encountered while trying to serve the pages to different browsers and [...]]]></description>
			<content:encoded><![CDATA[<p>Recently for a school project I was working on, I had to develop an XTHML 1.1 Strict validated page and a validated CSS to style the page.  This was not a problem in and of itself, however there were several problems that I encountered while trying to serve the pages to different browsers and to the <a href="http://validator.w3.org">W3C&#8217;s validator</a>.</p>
<p>What this post will attempt to do is cover several items that I found necessary to accomplish a page that displayed properly in Internet Explorer 7, Firefox 2, Netscape 9, SeaMonkey, Opera and Safari for Windows.  I have not fully tested the resulting pages on the Linux or Mac platforms yet, so I will attempt to do that when time permits.  I did however use BrowserCamp to get a screen shot of what it looks like in Safari 2.0.4 and there were some CSS issues (I assume anyway).</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7075532492661516";
google_ad_slot = "5786058018";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p><span id="more-35"></span><br />
The first thing that happened when I attempted to view the page in Firefox was that the body background color did not fill the entire page as it does on IE.  The problem, it appears, is caused from the implementation of the Body tag in an XHTML 1.1 doctype.  The body tag has been revamped so that it truly is only the content area of the size specified.  Thus, I had specified a body of 770 pixels wide, therefore in Firefox, which implements the XHTML standard, showed a body background of 770 pixels wide rather than filling the screen.  In IE, the entire body backgorund filled the whitespace.  Why?  To answer that I have to take you on a journey into mime-types, doctypes and standards compliance browsers&#8230;&#8230;.Let&#8217;s go.</p>
<p>The XHTML 1.1 specification denotes that all documents of this type SHOULD be sent with the application/xhtml+xml mime-type.  Huh?  What that means is the server, whether through the configuration of it (in my case apache), through .htaccess or programatically should send the document as the mime-type of application/xhtml+xml.  The problem is, my server was configured to send all documents as text/html if the extension and/or mime-type were not known.  No big deal, I added the supporting mime-type in my conf files and specified it for documents with an .xhtml extension only since I host several sites on here that all use .htm, .html or .php extensions.  I didn&#8217;t want to specify a mime-type for a standard file extension and start sending regular HTML documents as application/xhtml+xml.</p>
<p>So that takes me to the next phase of this project.  I found that after I did this, the validator stopped complaining on files with .xhtml extension, but that files with .php were still being sent as text/html.  I could not send all my PHP files on my various sites as application/xhtml+xml, so I couldn&#8217;t register .php as that mime-type.  What I could do though was register PHP files in this current directory that I was serving them out of as application/xhtml+xml via .htaccess.  Sounds great right?  Sovles the problem right?  Wrong.  Unfortunately when I enabled this, I found out that it then bypassed the PHP interpreter and the pages would not render any PHP code in them due to that.  So, I have XHTML 1.1 validated pages, but they are not parsed as PHP.  I also did not want to parse every html or xhtml page through the PHP parser, that would be a waste of resources really.</p>
<p>After searching on Goolge, I found out that I was not the only person struggling with this issue.  I will list the resources I used in my final solution at the end of this post to give credit where credit is due.  BTW, around this time I also find that the browsers are displaying the page different, as mentioned in the first paragraph here.  Mime-types again and compiant browser support&#8230;..</p>
<p>PHP has the ability to modify headers programatically, thus providing an anwer to this part of the delima.  The end result is that through various resources I found that I could setup a PHP document to be sent as application/xhtml+xml to the browsers and validator that required and supported that mime-type, send it as text/html mime-type to IE and other browsers that required that and still have the PHP interpreter parse the pages PHP code properly.  Want a code snippet?  Here you go:</p>
<p><a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode351');"> PHP Header- Content-Type: modifications</a></p>
<div id="quickcode351" class="quickcode"><pre><code>
&lt;?php
header(&quot;Vary: Accept&quot;);
if(stristr($_SERVER[&quot;HTTP_ACCEPT&quot;], &quot;application/xhtml+xml&quot;))
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;header(&quot;Content-Type: application/xhtml+xml; charset=utf-8&quot;);
elseif(stristr($_SERVER[&quot;HTTP_USER_AGENT&quot;], &quot;W3C_Validator&quot;) || stristr($_SERVER[&quot;HTTP_USER_AGENT&quot;], &quot;WDG_Validator&quot;))
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;header(&quot;Content-Type: application/xhtml+xml; charset=utf-8&quot;);
else
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;header(&quot;Content-Type: text/html; charset=utf-8&quot;);

?&gt;
</code></pre></div>
<p>What the code does:  It first sees if the user agent is capable of the mime-type of application/xhtml+xml, and if it is sets the mime-type accordingly.  If that is not the case, it checks to see if it is the validator engine accessing it, and if so, sets the mime-type to be proper for the application/xhtml+xml type.  If both of those checks come back as false, it will fall back to text/html, for IE in other words.</p>
<p>This is important to note:  It is not fooling the Validator in to validating the page.  It is adjusting the mime-type according to user agent and user agent capabilities.  In this case it is sending the appropriate mime-type to compliant browsers and the validator engine, while sending the expected type to non-conforming browsers and agents.</p>
<p>So now, I have PHP files that will be parsed by the PHP engine, have the extnesion of .php, and are being send with the appropriate mime-type based upon what agent is requesting it and what that agent&#8217;s capabilities are.  Validation problem solved, but I still am having the white space and other problems occuring accross different browsers.  Why?  </p>
<p>The DOM in XHMTL is access and handled differently than in prior HTMl versions, and when a compliant user agent is accessing the page, this difference becomes manifested in the display of the page.  In that aspect, how the body tag is handled differs between the two mime-types (application/xhtml+xml and text/html) in how a compliant browser displays them.  The body tag is as the body is defined.  If you define the body via CSS to be 770&#215;500 pixels in size, with a background-color of #669900 you will have a box in an XHTML compliant browser that is 770&#215;500 pixels in size that has the color of #669900.  However, in a non-compliant browser or when using text/html as the mime-type for this document, you will find that the entire page background is the color #669900.  The solution?  Apply the color or background image to the html tag as well as the body tag and it should work in both complaint and non-compliant browsers, as well as with both mime-types.</p>
<p>So now I have a validated XHTML 1.1 and CSS layout based page, that is with the .php extension, is passed through the PHP parser as it should be, is rendered as application/xhtml+xml by supporting browser and the W3&#8217;s Validator, and is rendered as text/html by user agents and browsers (such as Internet Explorer) that do not support the XHTML specification.</p>
<p>All is good in the world again.  The reference links I used in finding this out and compiling it in to this post are:</p>
<p><a href="http://www.autisticcuckoo.net/archive.php?id=2004/11/03/content-negotiation">http://www.autisticcuckoo.net/archive.php?id=2004/11/03/content-negotiation</a><br />
<a href="http://juicystudio.com/article/content-negotiation.php#php">http://juicystudio.com/article/content-negotiation.php#php</a><br />
<a href="http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html">http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html</a><br />
<a href="http://www.schillmania.com/content/entries/2004/10/24/application-xhtml+xml/">http://www.schillmania.com/content/entries/2004/10/24/application-xhtml+xml/</a><br />
<a href="http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx">http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx</a><br />
<a href="http://www.hixie.ch/advocacy/xhtml">http://www.hixie.ch/advocacy/xhtml</a><br />
<a href="http://www.workingwith.me.uk/articles/scripting/mimetypes">http://www.workingwith.me.uk/articles/scripting/mimetypes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.southplattewebdesign.com/2007/09/27/xhtml-php-validation-and-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
