<?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>LiquidFoot &#187; Server</title>
	<atom:link href="http://www.liquidfoot.com/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.liquidfoot.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 02 Jan 2012 22:56:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Subversion with mod_security</title>
		<link>http://www.liquidfoot.com/2007/03/06/subversion-with-mod_security/</link>
		<comments>http://www.liquidfoot.com/2007/03/06/subversion-with-mod_security/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 23:35:02 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Subversion]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=196</guid>
		<description><![CDATA[I ran into a bit of an issue while setting up a new subversion server today. On that box we&#8217;re running mod_security on all vhosts to add another layer of security to our web apps. I got everything configured with the the security, but when I was testing, I kept getting 403 errors when I [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>I ran into a bit of an issue while setting up a new subversion server today. On that box we&#8217;re running <a href="http://www.modsecurity.org/">mod_security</a> on all vhosts to add another layer of security to our web apps. I got everything configured with the the security, but when I was testing, I kept getting 403 errors when I attempted to get the files in anything other than a web browser.</p>
<p>After scratching my head for a while, I looked at the Apache logs, and noticed that mod_rewrite was causing the issue with lines like this:</p>
<div class="code">[Tue Mar 06 13:46:46 2007] [error] [client xxx.xxx.xxx.xxx] mod_security: Access denied with code 403. Pattern match <span style="color: #0000ff;">&#8220;!(^$|^application/x-www-form-urlencoded$|^multipart/form-data)&#8221;</span> at HEADER(<span style="color: #0000ff;">&#8220;Content-Type&#8221;</span>) [severity <span style="color: #0000ff;">"EMERGENCY"</span>] [hostname <span style="color: #0000ff;">"svn.example.com"</span>] [uri <span style="color: #0000ff;">"/test"</span>]</div>
<p>I stumbled on <a href="http://blog.charlvn.za.net/2006/09/subversion-modsecurity.html">Charl van Niekerk&#8217;s</a> entry on this. One of the comments suggested that the following is the bare minimum to run mod_security on a vhost running subversion:</p>
<div class="code">SecFilterSelective REQUEST_METHOD <span style="color: #0000ff;">&#8220;^(PROPFIND|PROPPATCH)$&#8221;</span> allow<br />
SecFilterSelective REQUEST_METHOD <span style="color: #0000ff;">&#8220;^(REPORT|OPTIONS)$&#8221;</span> allow<br />
SecFilterSelective REQUEST_METHOD <span style="color: #0000ff;">&#8220;^(MKACTIVITY|CHECKOUT)$&#8221;</span> allow<br />
SecFilterSelective REQUEST_METHOD <span style="color: #0000ff;">&#8220;^(PUT|DELETE|MERGE)$&#8221;</span> allow</div>
<p>This should be in the first directives in your mod_security call:</p>
<div class="code"><span style="color: #000080;">&lt;IfModule mod_security.c&gt;</span></p>
<p># Enable ModSecurity<br />
SecFilterEngine On</p>
<p># Allow SVN requests<br />
SecFilterSelective REQUEST_METHOD <span style="color: #0000ff;">&#8220;^(PROPFIND|PROPPATCH)$&#8221;</span> allow<br />
SecFilterSelective REQUEST_METHOD <span style="color: #0000ff;">&#8220;^(REPORT|OPTIONS)$&#8221;</span> allow<br />
SecFilterSelective REQUEST_METHOD <span style="color: #0000ff;">&#8220;^(MKACTIVITY|CHECKOUT)$&#8221;</span> allow<br />
SecFilterSelective REQUEST_METHOD <span style="color: #0000ff;">&#8220;^(PUT|DELETE|MERGE)$&#8221;</span> allow</p>
<p>&#8230;<br />
# rest of your directives<br />
<span style="color: #000080;">&lt;/IfModule&gt;</span></div>
<p>If you run a Subversion repository and have run into this issue, these security filters should help!</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2007/03/06/subversion-with-mod_security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS Access via JDBC</title>
		<link>http://www.liquidfoot.com/2007/02/02/ms-access-via-jdbc/</link>
		<comments>http://www.liquidfoot.com/2007/02/02/ms-access-via-jdbc/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 22:23:14 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=198</guid>
		<description><![CDATA[We recently made the move from an IIS Windows web server to an Apache *nix based web server as part of our efforts to consolidate our library&#8217;s server infrastructure. And for reasons I won&#8217;t expound upon, we had one MS Access DSN that didn&#8217;t get migrated to MSSQL and that needed to be used still. [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>We recently made the move from an IIS Windows web server to an Apache *nix based web server as part of our efforts to consolidate our library&#8217;s server infrastructure. And for reasons I won&#8217;t expound upon, we had one MS Access DSN that didn&#8217;t get migrated to MSSQL and that needed to be used still. Since ColdFusion uses a Windows only driver for MS Access, I needed to figure out a way around this. I found a couple of JDBC drivers for Access (Easysoft&#8217;s <a href="http://www.easysoft.com/products/data_access/jdbc_odbc_bridge/index.html">JDBC-ODBC Bridge</a> and HXTT&#8217;s <a href="http://www.hxtt.com/access.html">Access Pure Java JDBC Drivers</a>), but these seemed to be a bit on the expensive side for the short amount of time that I&#8217;d need to keep Access in production.</p>
<p>I did notice on Easysoft&#8217;s website that they were using the JdbcOdbc bridge, so after a little bit more digging, I found the syntax to use configure ColdFusion to use MS Access through the JdbcOdbc Bridge; the JDBC URL is</p>
<div class="code">jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=/path/to/datasource.mdb;DriverID22;</div>
<p>and the Driver Class</p>
<div class="code">sun.jdbc.odbc.JdbcOdbcDriver</div>
<p>For the very basic inserting of data from a seldom-used web form into a single table, this band aid fix has been doing pretty good!</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2007/02/02/ms-access-via-jdbc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>RedHat Support Kudos</title>
		<link>http://www.liquidfoot.com/2006/12/14/redhat-support-kudos/</link>
		<comments>http://www.liquidfoot.com/2006/12/14/redhat-support-kudos/#comments</comments>
		<pubDate>Thu, 14 Dec 2006 23:04:25 +0000</pubDate>
		<dc:creator>Wayne</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<guid isPermaLink="false">http://www.liquidfoot.com/?p=200</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve posted anything, so I figured this would be a good point to start on&#8230; To start the process of standardizing our server platform in the library, we recently purchased a couple of servers to run RedHat on. I was going through the process yesterday of activating the subscriptions, and [...]]]></description>
			<content:encoded><![CDATA[<div class="body">
<p>It&#8217;s been a while since I&#8217;ve posted anything, so I figured this would be a good point to start on&#8230;</p>
<p>To start the process of standardizing our server platform in the library, we recently purchased a couple of servers to run RedHat on. I was going through the process yesterday of activating the subscriptions, and a funny thing happened&#8230;the second subscription got appended to the first as an extension instead of a new subscription.</p>
<p>I looked all over the place trying to figure out where the subscription had gone to, and read, and reread the directions (there&#8217;s not really that much to it). I had deleted and re-added the system (in an effort to clear the entitlements) so many times I lost count.</p>
<p>I finally broke down and decided to give RedHat a call. I have to say this was perhaps one of the best service calls I&#8217;ve ever had with a software vendor. After my last several experiences with software vendors (we just put in a new media center for college students), I had pretty low expectations. I figured I&#8217;d be on the phone for most of the morning trying to convince someone that I did in fact have two, three-year subscriptions and not one, three-year with a three-year extension.</p>
<p>Things started off normal enough for these things&#8230;a labyrinth of options to choose from. After I got the options to get to technical support, someone actually picked up the phone on the second ring! After I explained what I had done, he looked at my account and immediately knew what had happened. He said that he wasn&#8217;t able to help, but would transfer me to someone who could. Now this is what surprised me, instead of me getting transferred to the folks that could help me, he actually talked to those people, explained what the problem was, and then connected me so I could talk to those people. By the time I actually spoke with the account rep, she already knew what the problem was and what needed to be done to fix the problem instead of me rehashing my story over and over again.</p>
<p>I wish more companies handled issues like this&#8230;my five minute problem literally took five minutes to resolve. Too many times in the recent past I&#8217;ve gotten the run-around for what I believed a rather straight-forward issue. It&#8217;s very refreshing to have this kind of experience with a software vendor!</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.liquidfoot.com/2006/12/14/redhat-support-kudos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

