[pLog-svn] r6030 - plog/branches/lifetype-1.2
Jon Daley
plogworld at jon.limedaley.com
Sun Nov 11 09:29:50 EST 2007
I don't care as much about the page rewrite, but the first rewrite
gets "double" use, where URLs that weren't officially generated by
modrewrite get parsed by that rule, I think. At least some blogs I have
seen have URLs simply like /BLOGID Maybe that is the default for "SEF"
URLs? It has been a long time since I worked on that.
On Sun, 11 Nov 2007, Reto Hugi wrote:
> 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.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
Laughter: A universal bond that draws all men closer.
-- Nathan Ausubel
More information about the pLog-svn
mailing list