]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Tweak deb metadata location
authorMarcin Haba <marcin.haba@bacula.pl>
Thu, 13 Nov 2014 22:39:55 +0000 (23:39 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Thu, 13 Nov 2014 22:39:55 +0000 (23:39 +0100)
gui/baculum/debian/install
gui/baculum/examples/baculum.lighttpd.conf [deleted file]
gui/baculum/examples/baculum.users [deleted file]
gui/baculum/examples/deb/baculum.lighttpd.conf [new file with mode: 0644]
gui/baculum/examples/deb/baculum.users [new file with mode: 0644]

index 48fec95df7cce06ee3c34b15384521a81aab179a..ce5349fecdfaf51d52b1a5335c7b68caf3255e54 100644 (file)
@@ -6,5 +6,5 @@ index.php  /var/www/baculum/
 LICENSE    /var/www/baculum/
 protected  /var/www/baculum/
 themes     /var/www/baculum/
-examples/baculum.users /var/www/baculum/protected/Data
-examples/baculum.lighttpd.conf /etc/baculum
+examples/deb/baculum.users /var/www/baculum/protected/Data
+examples/deb/baculum.lighttpd.conf /etc/baculum
diff --git a/gui/baculum/examples/baculum.lighttpd.conf b/gui/baculum/examples/baculum.lighttpd.conf
deleted file mode 100644 (file)
index cf90f16..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-# Baculum WebGUI tool for Bacula Community
-#
-# Web Server Configuration
-#
-
-server.port           = 9095
-server.username       = "www-data"
-server.groupname      = "www-data"
-server.document-root  = "/var/www/baculum"
-server.errorlog       = "/var/www/baculum/protected/logs/baculum-error.log"
-accesslog.filename    = "/var/www/baculum/protected/logs/baculum-access.log"
-server.pid-file       = "/var/run/baculum.pid"
-
-server.modules = (
-        "mod_auth",
-        "mod_rewrite",
-        "mod_fastcgi",
-        "mod_accesslog"
-)
-
-auth.backend          = "plain" 
-auth.backend.plain.userfile = "/var/www/baculum/protected/Data/baculum.users"
-auth.require = ( "/" => (
-        "method" => "basic",
-        "realm" => "Baculum Auth",
-        "require" => "valid-user"
-))
-
-index-file.names      = ( "index.php" )
-
-static-file.exclude-extensions = ( ".php" )
-
-dir-listing.encoding  = "utf-8"
-
-mimetype.assign = (
-   ".html" => "text/html",
-   ".gif" => "image/gif",
-   ".png" => "image/png",
-   ".ico" => "image/x-icon",
-   ".css" => "text/css",
-   ".js" => "application/javascript",
-)
-
-fastcgi.server = (".php"=>((
-  "bin-path"=>"/usr/bin/php5-cgi",
-  "socket"=>"/tmp/php.socket"
-)))
-
-url.rewrite-once = (
-   "^/themes/(.+)$" => "/themes/$1",
-   "^/assets/(.+)$" => "/assets/$1",
-   "^/(.+)$" => "/index.php/$1"
-)
diff --git a/gui/baculum/examples/baculum.users b/gui/baculum/examples/baculum.users
deleted file mode 100644 (file)
index 3663ae8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-admin:admin
\ No newline at end of file
diff --git a/gui/baculum/examples/deb/baculum.lighttpd.conf b/gui/baculum/examples/deb/baculum.lighttpd.conf
new file mode 100644 (file)
index 0000000..cf90f16
--- /dev/null
@@ -0,0 +1,53 @@
+# Baculum WebGUI tool for Bacula Community
+#
+# Web Server Configuration
+#
+
+server.port           = 9095
+server.username       = "www-data"
+server.groupname      = "www-data"
+server.document-root  = "/var/www/baculum"
+server.errorlog       = "/var/www/baculum/protected/logs/baculum-error.log"
+accesslog.filename    = "/var/www/baculum/protected/logs/baculum-access.log"
+server.pid-file       = "/var/run/baculum.pid"
+
+server.modules = (
+        "mod_auth",
+        "mod_rewrite",
+        "mod_fastcgi",
+        "mod_accesslog"
+)
+
+auth.backend          = "plain" 
+auth.backend.plain.userfile = "/var/www/baculum/protected/Data/baculum.users"
+auth.require = ( "/" => (
+        "method" => "basic",
+        "realm" => "Baculum Auth",
+        "require" => "valid-user"
+))
+
+index-file.names      = ( "index.php" )
+
+static-file.exclude-extensions = ( ".php" )
+
+dir-listing.encoding  = "utf-8"
+
+mimetype.assign = (
+   ".html" => "text/html",
+   ".gif" => "image/gif",
+   ".png" => "image/png",
+   ".ico" => "image/x-icon",
+   ".css" => "text/css",
+   ".js" => "application/javascript",
+)
+
+fastcgi.server = (".php"=>((
+  "bin-path"=>"/usr/bin/php5-cgi",
+  "socket"=>"/tmp/php.socket"
+)))
+
+url.rewrite-once = (
+   "^/themes/(.+)$" => "/themes/$1",
+   "^/assets/(.+)$" => "/assets/$1",
+   "^/(.+)$" => "/index.php/$1"
+)
diff --git a/gui/baculum/examples/deb/baculum.users b/gui/baculum/examples/deb/baculum.users
new file mode 100644 (file)
index 0000000..3663ae8
--- /dev/null
@@ -0,0 +1 @@
+admin:admin
\ No newline at end of file