/* 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'; ?>
2004-12-28: ALSAで音を出す!
古いSoundCardがあまっていたので何ヶ月かまえにGentoo Linuxに取り付けてみたものの動かしてなかったので、動かしてみた。OS:Gentoo Linux
機種:たぶんCreative Sound Blaster 16
バス:ISA
ドライバ:ALSA
media-libs/alsa-lib-1.0.6
media-libs/alsa-oss-1.0.7
media-sound/alsa-driver-1.0.7-r4
media-sound/alsa-headers-1.0.7
手順:
ドライバのインストール
/etc/modules.d/alsaの編集
$vi /etc/modules.d/alsa
- -----------------------------------------START-------------
1.2 2004/07/18 03:40:55 dragonheart Exp $alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-sb16
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1
options snd-sb16 index=0 id="SB-16" port=0x220 mpu_port=0x330
irq=5 dma8=1 dma16=5 isapnp=0
/etc/modules.confの更新
$modules-update
まだ途中!
Category: Gentoo Linux No Trackbacks