title: Is it a bad idea to put apache conf files in my rails app's config directory?
body: <p>I have a dedicated CentOS server. I manage all my users, apps, and virtual hosts manually. I'm using Apache 2.2.3 and Passenger 3.0.7 to serve my apps. I have a typical httpd.conf file in <code>/etc/httpd/conf/</code> that includes all <code>*.conf</code> files in my <code>/etc/httpd/conf/vhosts/</code> directory. Normally for each app I create a new sample-domain.com.conf file in the vhosts directory.</p>
  
  <p>However, I have a particular app that needs frequent apache configuration changes, and I'd like it to be more a part of my app and its version control. So I've moved my apache configuration file into the apps config directory. I added a script to my Capistrano deploy.rb that sets the permissions on the apache conf file in the app to 755. I added an include line in my vhosts that includes the symlinked current version of the apache conf file from the app.</p>
  
  <p>Which brings me to my simple question: is this safe or a bad idea?</p>