/* About ----- This directory contains extra files to make the 'fancy urls' feature even more fancier, by eliminating the 'index.php'-part of the URL Installation ------------ 1. Copy all files in this directory (except for index.html) to your main nucleus dir (where your index.php and action.php file are) If you have an already existing .htaccess file (most ftp-programs don't show hidden files by default, so don't start uploading it without checking your server). If you do, download that old one first, and copy the contents of the new .htaccess file (from the fancyurls folder) in your old one, and upload that... 2. Edit this file so that $CONF['Self'] points to your main directory. NOTE: this time, and only this time, the URL should NOT end in a slash 3. Also edit the $CONF['Self'] variable in your index.php, if you don't want to end up with index.php/item/1234 urls when people come via that way 4. Enable 'Fancy URLs' in the Nucleus admin area (nucleus management / edit settings) 5. Off you go! If it doesn't work: ------------------- Remove the files again (don't forget the hidden file .htaccess). Voila. */ // remember: this URL should _NOT_ end with a slash. $CONF['Self'] = 'http://www.momoso-net.com/~ms08'; ?>
2007-03-19: Yahooのオンラインゲーム
Yahooのオンラインゲームを楽しむために。わが家のgentoo Linuxにこんなことしました。まず、http://www.java.com/ja/download/manual.jspあたりから Linux 版 Java Runtime Environment (JRE) をダウンロードして/optに入れておく。
そしてスーパーユーザになってほげほげほげ・・・・下記参照
hogehoge@gentooez9 ~ $ su -
gentooez9 ~ # cd /opt
gentooez9 opt # ls -al
total 16733
drwxr-xr-x 9 root root 352 Mar 17 15:27 .
drwxr-xr-x 24 root root 632 Feb 12 19:10 ..
-rw-r--r-- 1 root root 0 Oct 8 2005 .keep
drwxr-xr-x 3 root root 72 Dec 6 2005 OpenOffice.org
drwxr-xr-x 9 root root 272 Feb 6 14:18 RealPlayer
drwxr-xr-x 8 root root 192 Jan 10 2006 blackdown-jdk-1.4.2.03
drwxr-xr-x 7 root root 168 Oct 19 16:41 blackdown-jre-1.4.2.03
-rwxr--r-- 1 hogehoge users 17115102 Mar 17 15:14 jre-1_5_0_11-linux-i586.bin
drwxr-xr-x 3 root root 72 Jun 8 2006 netscape
drwxr-xr-x 8 root root 192 Jan 17 11:58 sun-jdk-1.5.0.10
ダウンロードされたのはjre-1_5_0_11-linux-i586.binこれで、permissionに実行権があるのを確認して
gentooez9 opt # ./jre-1_5_0_11-linux-i586.bin
まあいろいろ出てきますが最終的にjre1.5.0_11のディレクトリが出来上がる。
そして入れたいブラウザがfirefoxなら
gentooez9 opt # cd /usr/lib/mozilla-firefox/plugins
gentooez9 plugins # ln -s
/opt/jre1.5.0_11/plugin/i386/ns7/libjavaplugin_oji.so
てなことをしておく。あとはブラウザを起動しさーオンラインゲームだ???
なんとjavaが文字化けつーか□□□□□□□□□こんなのがいっぱい。そこでさっき出来上がったjre1.5.0_11にこんなことをする。
gentooez9 plugins # cd /opt/jre1.5.0_11/lib/fonts
fallbackのフォルダ作成。
gentooez9 fonts # mkdir fallback
gentooez9 fonts # cd fallback
kochiフォントあたりをリンクする。
gentooez9 fallback # ln -s /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
gentooez9 fallback # ln -s /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
こんどこそ。ブラウザを再起動してオンラインゲームだ!!!!(*^_^*)
さのしいよ!これで「むろさと君」と大富豪で対戦だ。
Category: Gentoo Linux No Trackbacks