Xah Web Dev Blog Archive 2012-07
If you have JavaScript off, and you followed a link to Google Plus, it would show blank.
Google Plus now no longer shows blank when you have JavaScript turned off.
Popular Pirate Video Sites in China
Here is two most popular sites in China, of pirated movies and TV shows. You'll find latest Batman etc there.
- http://www.pps.tv/ Alexa ranking 1028. Within China: 177.
- http://www.funshion.com/ Alexa ranking 1922. Within China: 293.
[see Software Piracy, Open Source, Free Software, Copyright]
Update: grayer and grayer. Web Design: Grey Text on White Background. Solarize Color Disease
Google Sitemap.org Domain Typosquatting Scam
What Encoding Do Chinese Websites Use?
Obsolete Technologies 1990 to 2000
Apache Rewrite Problem
a very strange apache rewrite problem.
i'm moving parts of my site at xahlee.org
to wordyenglish.com
. I have this in .htaccess
:
… RewriteRule ^PageTwo_dir/Vocabulary_dir/(.*)$ http://wordyenglish.com/words/$1 [R=301,L] RewriteRule ^lit/(.*)$ http://wordyenglish.com/lit/$1 [R=301,L] RewriteRule ^lojban/(.*)$ http://wordyenglish.com/lojban/$1 [R=301,L] …
everything works, except the dir starting at lit/
. The error is a 404 on the original domain.
no other lines contains “lit/”. There's no “lit” dir in the original domain now.
Turning on rewrite log:
RewriteLog "logs/xx-RewriteLog.log" RewriteLogLevel 9
doesn't seem allowed or doesn't work with my web hosting environment. When these lines are present, browser returns a server error.
the problem occurs only with that one particular dir. Seems there's some magic with “lit/”.
Solution
the problem went away with this:
- • create a dir “lit”, create a file under it.
- • now, the redirect suddenly works.
Not sure exactly what's the problem. Other dirs that are removed didn't have this problem. Just this dir.
Also, Ansari gave this tip: “the rewrite log rules must go in httpd.conf or your vhost configuration, not in .htaccess”.
http://serverfault.com/questions/408326/apache-modrewrite-fail-on-one-directory/
RIP RSS (1999 to 2012)
Safari 6 is released, but no more Windows version. Also, RSS reading feature is removed.
The fact that Apple removed RSS reader feature in Safari probably means that they've done market research and not many people are using it. I myself never used any RSS reader in browsers.
Popular RSS aggregate sites all went dead a year or two ago. The only one left and won't go away is Google Reader. Technorati seems still alive, though i haven't heard about it in gossips for years.