summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-04-13 16:27:27 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-04-13 16:27:27 -0400
commitd4973c541a8089afd8634850ecc8818aa15d99d7 (patch)
tree3a6b865fa83e4de7b32dd29adf577c94d2fa3883
parentb4f9f91a9eca52ec73aba8d6dcaa136fc12035e6 (diff)
downloadthird_party-cobbler-d4973c541a8089afd8634850ecc8818aa15d99d7.tar.gz
third_party-cobbler-d4973c541a8089afd8634850ecc8818aa15d99d7.tar.xz
third_party-cobbler-d4973c541a8089afd8634850ecc8818aa15d99d7.zip
cobbler.conf (httpd conf file) should be in version control, also
bumped release.
-rw-r--r--cobbler.spec4
-rw-r--r--templates/cobbler.conf14
2 files changed, 16 insertions, 2 deletions
diff --git a/cobbler.spec b/cobbler.spec
index b50f616..24509e8 100644
--- a/cobbler.spec
+++ b/cobbler.spec
@@ -2,7 +2,7 @@
Summary: Boot server configurator
Name: cobbler
Version: 0.4.7
-Release: 0%{?dist}
+Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Applications/System
@@ -110,7 +110,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%doc AUTHORS CHANGELOG NEWS README COPYING
%changelog
-* Tue Apr 10 2007 Michael DeHaan <mdehaan@redhat.com> - 0.4.7-0
+* Tue Apr 10 2007 Michael DeHaan <mdehaan@redhat.com> - 0.4.7-1
- Upstream changes (see CHANGELOG)
* Thu Apr 05 2007 Michael DeHaan <mdehaan@redhat.com> - 0.4.6-0
diff --git a/templates/cobbler.conf b/templates/cobbler.conf
new file mode 100644
index 0000000..70a63e9
--- /dev/null
+++ b/templates/cobbler.conf
@@ -0,0 +1,14 @@
+# This configuration file allows cobbler data
+# to be accessed over HTTP.
+
+AliasMatch ^/cobbler(/.*)?$ "/cobbler_webdir$1"
+AliasMatch ^/cobbler_track(/.*)?$ "/cobbler_webdir$1"
+AliasMatch ^/cblr(/.*)?$ "/cobbler_webdir$1"
+
+<Directory "/cobbler_webdir">
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+</Directory>
+