packages: nagios-ninja/apache.conf (NEW), nagios-ninja/lighttpd.conf (NEW) ...

glen glen at pld-linux.org
Tue Dec 7 18:22:29 CET 2010


Author: glen                         Date: Tue Dec  7 17:22:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- webserver configs

---- Files affected:
packages/nagios-ninja:
   apache.conf (NONE -> 1.1)  (NEW), lighttpd.conf (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/nagios-ninja/apache.conf
diff -u /dev/null packages/nagios-ninja/apache.conf:1.1
--- /dev/null	Tue Dec  7 18:22:29 2010
+++ packages/nagios-ninja/apache.conf	Tue Dec  7 18:22:24 2010
@@ -0,0 +1,20 @@
+Alias /ninja /usr/share/ninja/htdocs
+<Directory /usr/share/ninja/htdocs>
+	Allow from all
+#
+#	# Turn on URL rewriting
+#	RewriteEngine On
+#
+#	# Installation directory
+#	RewriteBase /ninja/
+#
+#	# Protect application and system files from being viewed
+#	RewriteRule ^(application|modules|system) - [F,L]
+#
+#	# Allow any files or directories that exist to be displayed directly
+#	RewriteCond %{REQUEST_FILENAME} !-f
+#	RewriteCond %{REQUEST_FILENAME} !-d
+#
+#	# Rewrite all other URLs to index.php/URL
+#	RewriteRule .* index.php/$0 [PT,L]
+</Directory>

================================================================
Index: packages/nagios-ninja/lighttpd.conf
diff -u /dev/null packages/nagios-ninja/lighttpd.conf:1.1
--- /dev/null	Tue Dec  7 18:22:29 2010
+++ packages/nagios-ninja/lighttpd.conf	Tue Dec  7 18:22:24 2010
@@ -0,0 +1,3 @@
+alias.url += (
+    "/ninja" => "/usr/share/ninja/htdocs",
+)
================================================================


More information about the pld-cvs-commit mailing list