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

reto at devel.lifetype.net reto at devel.lifetype.net
Sat Nov 10 14:43:51 EST 2007


Author: reto
Date: 2007-11-10 14:43:51 -0500 (Sat, 10 Nov 2007)
New Revision: 6030

Modified:
   plog/branches/lifetype-1.2/.htaccess
Log:
bugfix for some paging issues



Modified: plog/branches/lifetype-1.2/.htaccess
===================================================================
--- plog/branches/lifetype-1.2/.htaccess	2007-11-10 14:25:45 UTC (rev 6029)
+++ plog/branches/lifetype-1.2/.htaccess	2007-11-10 19:43:51 UTC (rev 6030)
@@ -12,10 +12,15 @@
 <IfModule mod_rewrite.c>
 
 RewriteEngine On
-RewriteBase /
+RewriteBase /lt/lt12/
 
+  # Point to the sitemap file that is local to the blog
+RewriteRule ^sitemap([0-9]+)\.gz$ tmp/sitemap/$1/sitemap.gz [L,NC]
+
 # Permalink to the blog entry (i.e. /1_userfoo/archive/3_title-foo-bar.html)
 RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]+)_[^.]+\.html$ index.php?op=ViewArticle&blogId=$1&articleId=$2 [L,NC]
+# -- same as above but with paging included
+RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]+)_[^.]+\.html\.page\.([1-9]+)$ index.php?op=ViewArticle&blogId=$1&articleId=$2&page=$3 [L,NC]
 
 # Monthly archive (i.e. /1_userfoo/archive/200401.html) 
 RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]{6})\.html$ index.php?blogId=$1&Date=$2 [L,NC]
@@ -59,9 +64,9 @@
 RewriteRule ^([0-9]+)_[^/]+/get/(.+)$ resserver.php?blogId=$1&resource=$2 [L,NC]
 
 # A non-default blog (i.e. /88_userfoo)
-RewriteRule ^([0-9]+)(_[^/]+)?$ index.php?blogId=$1 [L,NC]
+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=$3 [L,NC]
+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]



More information about the pLog-svn mailing list