SOURCES: openvcp-web-apache.conf - ifmodule for rewrite

glen glen at pld-linux.org
Sat Sep 22 12:39:45 CEST 2007


Author: glen                         Date: Sat Sep 22 10:39:45 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- ifmodule for rewrite

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

---- Diffs:

================================================================
Index: SOURCES/openvcp-web-apache.conf
diff -u SOURCES/openvcp-web-apache.conf:1.1 SOURCES/openvcp-web-apache.conf:1.2
--- SOURCES/openvcp-web-apache.conf:1.1	Sat Sep 22 12:38:55 2007
+++ SOURCES/openvcp-web-apache.conf	Sat Sep 22 12:39:40 2007
@@ -1,7 +1,9 @@
 Alias /openvcp-web /usr/share/openvcp-web
 <Directory /usr/share/openvcp-web>
-	RewriteEngine On
-	RewriteRule ^openvcp(.*)$ index.php$1
+	<IfModule mod_rewrite.c>
+		RewriteEngine On
+		RewriteRule ^openvcp(.*)$ index.php$1
+	</IfModule>
 
 	Order Deny,Allow
 	Deny from all
================================================================

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



More information about the pld-cvs-commit mailing list