SOURCES: wicked.conf - add optional mod_rewrite rule

glen glen at pld-linux.org
Sat Sep 17 14:27:00 CEST 2005


Author: glen                         Date: Sat Sep 17 12:27:00 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add optional mod_rewrite rule

---- Files affected:
SOURCES:
   wicked.conf (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/wicked.conf
diff -u SOURCES/wicked.conf:1.2 SOURCES/wicked.conf:1.3
--- SOURCES/wicked.conf:1.2	Tue Aug  2 00:45:48 2005
+++ SOURCES/wicked.conf	Sat Sep 17 14:26:55 2005
@@ -17,6 +17,16 @@
     order deny,allow
     deny from all
 </Directory>
+
+<IfModule mod_rewrite.c>
+    <Directory "/usr/share/horde/wicked">
+        RewriteEngine On
+        RewriteCond   %{REQUEST_FILENAME}  !-d
+        RewriteCond   %{REQUEST_FILENAME}  !-f
+        RewriteRule   ^([A-Za-z0-9].*)$ display.php?page=$1 [QSA]
+    </Directory>
+</IfModule>
+
 </IfModule>
 
 # vim: filetype=apache ts=4 sw=4 et
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/wicked.conf?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list