« November 2009
SunMonTueWedThuFriSat
1
2
3
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.
All | General | Mozilla | Technical
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.


20040704 Sunday July 04, 2004
More Google

MoreGoogle is a freeware to enhance Google search results, it features:

Download MoreGoogle (300KB)

Wonderful software, it runs silently, and won't slow down your searches.

"This is the coolest plug-in I have seen to enhance the Google search results" -- Savage Nomads

20040628 Monday June 28, 2004
How to take screenshot of gdm in JDS

Today I tried to take a screenshot of gdm in JDS.
It spent my a few time to find the solution.
Finally, this webpage helped my out.

Here's my steps.
1) edit /etc/X11/gdm/Init/Default, add 1 line, xhost +, before the lastline "exit 0"
2) Restart X (Ctrl+Alt+Backspace). Log in and log out.
3) Ctrl+Alt+F2, switch to text console, log in as root.
4) chvt 7;sleep 2;xwd -display :0.0 -out /tmp/dump.xwd -root
5) After 2 seconds, you will hear two beeps, Now you get your screenshot to /tmp/dump.xwd. You can edit it by gimp.

Another tip of taking screenshot in JDS.
If you want to take screenshot of popup-menu, you can try /usr/bin/gnome-panel-screenshot --delay=5, it will give you enough time to pop up the menu.

If you want to get screenshot of installation screens, I think you must use VMware.

20040622 Tuesday June 22, 2004
Sun Shines Brightly on Linux Desktop

Great news!
Sun Shines Brightly on Linux Desktop
Sun's Java Desktop System 2 edges Red Hat Desktop for enterprise readiness in eWEEK Labs' tests.

For me, JDS2 is my work environment, but I didn't ever tried Redhat Desktop, I'd like to try it and find what we can learn from it, and what's the difference, especially for Mozilla.

Wish JDS3 be a great success again.

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