summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>
+