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

Reto Hugi plog at hugi.to
Sun Nov 11 06:24:18 EST 2007


On 11/11/2007 01:53 AM, Jon Daley wrote:
>  	You probably didn't mean to check-in the RewriteBase.
> 
> I also am not sure about the last two changes - it looks to me that you 
> made some URLs no longer work, ie. the _userfoo didn't used to be 
> required, and now it is.  Or am I reading the rules incorrectly?
> 

thanks for pointing this out, jon. I wanted to update my working
directory, but then forgot to do so.

about this one:
-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]

Somehow the pager didn't work and when looking at the rule I thought
it's ok to make it mandatory to have a string after the blog id and the
underscore because every blog has an urlized blog name. So, we expect
/BLOGID_BLOGNAME.page.NUMBER which is always the case anyway. Or do I
overlook something here?

I'll fix the rewrite base, though.


More information about the pLog-svn mailing list