SOURCES: openvcp-web-apache.conf - nicer alias - don't ifmodule re...

baggins baggins at pld-linux.org
Mon Sep 24 00:28:57 CEST 2007


Author: baggins                      Date: Sun Sep 23 22:28:57 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- nicer alias
- don't ifmodule rewrite, it just don't work without it so it's better if
  apache dies on reload than webapp silently failing
- relaxed access

---- Files affected:
SOURCES:
   openvcp-web-apache.conf (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/openvcp-web-apache.conf
diff -u SOURCES/openvcp-web-apache.conf:1.2 SOURCES/openvcp-web-apache.conf:1.3
--- SOURCES/openvcp-web-apache.conf:1.2	Sat Sep 22 12:39:40 2007
+++ SOURCES/openvcp-web-apache.conf	Mon Sep 24 00:28:52 2007
@@ -1,13 +1,15 @@
-Alias /openvcp-web /usr/share/openvcp-web
+Alias /openvcp /usr/share/openvcp-web
+
 <Directory /usr/share/openvcp-web>
-	<IfModule mod_rewrite.c>
-		RewriteEngine On
-		RewriteRule ^openvcp(.*)$ index.php$1
-	</IfModule>
+	Options FollowSymLinks
+	RewriteEngine On
+	RewriteBase /openvcp
+	RewriteRule ^actions(.*)$ index.php$1
 
 	Order Deny,Allow
 	Deny from all
-	Allow from localhost
+	Allow from all
+#	Allow from localhost
 </Directory>
 
 <Directory /usr/share/openvcp-web/core>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/openvcp-web-apache.conf?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list