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

Jon Daley plogworld at jon.limedaley.com
Sat Nov 10 19:53:39 EST 2007


 	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?

On Sat, 10 Nov 2007, reto at devel.lifetype.net wrote:
> 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]
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

If you think the problem is bad now, just wait until we've solved it.
-- Kasspe


More information about the pLog-svn mailing list