[PC-BSD Commits] r2434 - websites/pbidir.com

svn at pcbsd.org svn at pcbsd.org
Wed Jul 23 17:24:58 PDT 2008


Author: fabry
Date: 2008-07-23 17:24:58 -0700 (Wed, 23 Jul 2008)
New Revision: 2434

Modified:
   websites/pbidir.com/.htaccess
Log:
updated .htaccess for a more elegant way to handle the system

Modified: websites/pbidir.com/.htaccess
===================================================================
--- websites/pbidir.com/.htaccess	2008-07-24 00:15:55 UTC (rev 2433)
+++ websites/pbidir.com/.htaccess	2008-07-24 00:24:58 UTC (rev 2434)
@@ -2,10 +2,14 @@
 
 RewriteRule ^rss/recent.rdf$ /bt/rss/pbi.rss [NC,L]
 
-RewriteCond %{REQUEST_URI} !.php|.css|.js|.jpg|.jpeg|.gif|.png|.txt|.sh$
-	RewriteRule ^(.*)$ /index.php/$1 [L]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+	RewriteRule ^(.*) index.php
 
+#RewriteCond %{REQUEST_URI} !.php|.css|.js|.jpg|.jpeg|.gif|.png|.txt|.sh$
+#	RewriteRule ^(.*)$ /index.php/$1 [L]
 
+
 ###############################################
 #turning off safe_mode
 php_flag safe_mode off



More information about the Commits mailing list