[pLog-svn] r6487 - plog/branches/lifetype-1.2

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu May 29 10:06:32 EDT 2008


Author: jondaley
Date: 2008-05-29 10:06:32 -0400 (Thu, 29 May 2008)
New Revision: 6487

Modified:
   plog/branches/lifetype-1.2/.htaccess
Log:
the non-default rule needs to be on the bottom, otherwise it overrides the static pages rule.  #1494

Modified: plog/branches/lifetype-1.2/.htaccess
===================================================================
--- plog/branches/lifetype-1.2/.htaccess	2008-05-29 13:45:45 UTC (rev 6486)
+++ plog/branches/lifetype-1.2/.htaccess	2008-05-29 14:06:32 UTC (rev 6487)
@@ -65,14 +65,14 @@
 # Download a resource (i.e. /88_userfoo/get/this-is-a-resource-name.pdf)
 RewriteRule ^([0-9]+)_[^/]+/get/(.+)$ resserver.php?blogId=$1&resource=$2 [L,NC]
 
+# Static Pages (i.e /3_userfoo/demosites)
+RewriteRule ^([0-9]+)_[^/]+/(.+)$ index.php?op=Template&blogId=$1&show=$2 [L,NC]
+
 # A non-default blog (i.e. /88_userfoo)
 RewriteRule ^([0-9]+)_[^.]+$ index.php?blogId=$1 [L,NC]
 # -- same as above but with paging included
 RewriteRule ^([0-9]+)_[^.]+\.page\.([1-9]+)$ index.php?blogId=$1&page=$2 [L,NC]
 
-# Static Pages (i.e /3_userfoo/demosites)
-RewriteRule ^([0-9]+)_[^/]+/(.+)$ index.php?op=Template&blogId=$1&show=$2 [NC]
-
 # If you would like to use custom urls but ForceType or SetType directives do
 # not work on your server (e.g. PHP is running as CGI/FastCGI) you may uncomment
 # the rewrite rule below to rewrite all requests to ./blog to ./blog.php.



More information about the pLog-svn mailing list