title: How to make and apply SVN patch?
body: <p>I would like to make a SVN type patch file for <code>httpd.conf</code> so I can easily apply it to other hosts.</p>
  
  <p>If I do</p>
  
  <pre><code>cd /root
  diff -Naur /etc/httpd/conf/httpd.conf_original /etc/httpd/conf/httpd.conf &gt; httpd.patch
  cp /etc/httpd/conf/httpd.conf_original /etc/httpd/conf/httpd.conf
  patch &lt; httpd.patch
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>can't find file to patch at input line 3
  Perhaps you should have used the -p or --strip option?
  The text leading up to this was:
  --------------------------
  |--- /etc/httpd/conf/httpd.conf_original    2012-04-26 13:36:08.331068438 +0200
  |+++ /etc/httpd/conf/httpd.conf 2012-04-26 14:27:36.857075085 +0200
  --------------------------
  File to patch: 
  </code></pre>
  
  <p><strong>Question</strong></p>
  
  <p>What am I doing wrong?</p>