« June 2005
SunMonTueWedThuFriSat
   
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today
XML

Blog::Navigation

Other sites

My homepage

Get Firefox

Get Firefox!.

Site notes

This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.

Powered by Roller Weblogger.
« Previous month (May 2005) | Main | Next month (Jul 2005) »
20050603 Friday June 03, 2005
Logged 2 bugs to Apple.com I found 2 bugs while installing MovableType 3.16 on Mac OS X 10.4.1.

4139312 RSS feed doesn't work on localhost

04-Jun-2005 10:35 AM Ginn Chen:
Summary:
RSS feed doesn't work on localhost

Steps to Reproduce:
I installed MovableType 3.16 on localhost, the url is http://localhost/blog.
On first page, it has a link of "RSS 1.0 (XML)".
The link address is http://localhost/blog/index.rdf.
Click the link, Safari finally got an error.
"Safari can’t find the server.
Safari can’t open the page “http://index.rdf/” because it can’t find the server “index.rdf”."
The Address box displayed "http://index.rdf/"

Expected Results:
It should go to "feed://localhost/blog/index.rdf"

Actual Results:
The Address box displayed "http://index.rdf/" with an error page.

Workaround:
Use a hostname instead of localhost.
It will be fine.

4139320 apache rewrite module incorrect behaviour

04-Jun-2005 10:50 AM Ginn Chen:
I installed MovableType 3.16 on Mac OS X 10.4.1.
I use mysql 4.1 as database.
I configed MovableType to use dynamic archive templates, that is, to use .htaccess and php instead of real html archives.

I changed /etc/httpd/httpd.conf Line 406 to allow override.
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride All

After rebuild my blog, I got .htaccess in my blog directory.
But when I access http://localhost/blog/archives/2005/06/index.html, I got 404 error.

I think it's related to following lines in the .htaccess file.
  # don't serve mtview.php if the request is for a real file
  # (allows the actual file to be served)
  RewriteCond %{REQUEST_FILENAME} !-f

1) Remove this line, it will be OK.
2) If I create an empty directory archives/2005/06/, it will be OK too.

It's weird.
It seemed the testing of file existence goes wrong if the directory doesn't exsit.
I tried this on Linux, it doesn't has this bug.


Copyright (C) 2004-2005, Blog of Ginn Chen (陈琦/Chen Qi)