Re: pyblosxom on lighttpd

shunuhs <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
Forgotton to write my environment.

WindowsXP/Cygwin/lighttpd-1.4.8/pyblosxom-1.3.1

After I send previous mail, I heard that no plobrem on Linux+lighttpd-
1.4.10+pyblosxom-1.3.1.
Is this windows problem? I'm not sure.

If the expert of lighttpd is, please let me know.
regards.

2006/2/11, shunuhs <[email protected]>:
>
> Hi developers.
>
> On lighttpd, I can't access archive page,
> like http://localhost/pyblosxom.cgi/2005/Dec/09 .
>
> When I run it renderer debug mode on apache and lighttpd,
> result is different. Looks like, lighttpd change path info
> to lower character, so month value is not match for tools.MONTHS.
>
> * lighttpd
>
>   pi_bl -> /2006/dec/09
>   pi_da ->
>   pi_mo ->
>   pi_yr -> 2006
>
> * apache
>
>   pi_bl -> /2006/Dec/09
>   pi_da -> 09
>   pi_mo -> Dec
>   pi_yr -> 2006
>
> $ diff -u pyblosxom.py.org pyblosxom.py
> --- pyblosxom.py.org    2006-02-11 17:02:54.343750000 +0900
> +++ pyblosxom.py        2006-02-11 17:05:07.203125000 +0900
> @@ -1108,7 +1108,7 @@
>                      item = ""
>
>                      if (len(path_info) > 0):
> -                        item = path_info.pop(0)
> +                        item = path_info.pop(0).capitalize()
>                          # handle a month token
>                          if item in tools.MONTHS:
>                              data['pi_mo'] = item
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.