microsearchのブログ -6ページ目

CodeIgniterに「index.php」を消える方法

1.まず、{webroot}/{CI}/application/config/config.phpに
 $config['index_page'] = "";

 理由:
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/

2.後、http.confは次のように変更:
Listen 10900
<--VirtualHost *:10900-->
#ServerName sm.xxx.jp
DocumentRoot /home/sm/www/htdocs
DirectoryIndex index.php index.html

ErrorLog "|/usr/sbin/cronolog /home/sm/log/apache/sm.xxx.jp_%Y%m%d_err.log"
CustomLog "|/usr/sbin/cronolog /home/sm/log/apache/sm.xxx.jp_%Y%m%d.log" combined

<--Directory "/home/sm/www/htdocs/"-->
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|images|robots\.txt|api)
RewriteRule ^(.*)$ /index.php/$1 [L]

<--/Directory-->
<--/VirtualHost-->

3.Apacheを再起動


Amebaに疑問:<と>は使えない?


日本語入力 オープンソース 

Googleからの日本語入力もうオープンソースになりました。


プロジェクトの名前は、Mozcと呼ばれます。

Googleの工藤さんたちは、本当にすばらしいです。Good Job!


INI file parser in java

http://www.ubique.ch/code/inieditor/


ini file parser in java