2011年04月25日 過去Blog
.htaccessに以下を記述してルートに設置
# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Modify the RewriteBase if you are using Drupal in a subdirectory and
  # the rewrite rules are not working properly.
  RewriteBase /

  # Rewrite URLs of the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule> 

参考:http://eru-net.jp/web/?itemid=58

この投稿へのコメント

コメントはまだありません。

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます。
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA


ピックアップ記事

mobile me の新規アカウント登録

2010年12月23日 過去Blog
先日、購入したipadにmobile me のアカウントを追加しようと思ったのですが、既存のmac ID を入力しても、そのID(メールアドレス: *****@mac.com)のメールが受信出来ないので、登録確認メールが届かず、mobile me の新規作成をしたのですが、何度もエラーが出てしまったので、覚え書きをしておきます。 …
「mobile me の新規アカウント登録」をはてなブックマークに追加

外部のサイトから画像をサーバに取得(コピー)

2009年12月06日 過去Blog
$img_path // 取得する画像のパス(URL) $path = "ここは保存先のパス";  //  /home/ドメイン/public_html/imagesなど $img = file_get_contents($img_path) ;//画像を取得 $fullpath = $path.basename($img_path);//画像の保存フルパス file_put_conten…
「外部のサイトから画像をサーバに取得(コピー)」をはてなブックマークに追加

php Fatal error: Cannot redeclare phpでのエラー

2009年12月07日 過去Blog
今回RSSを取り出すのに使っていた「MagpieRSS」を以下のように使っていたのですが、 include ('rss_fetch.inc'); require_once 'code_table.ucs2jis'; require_once 'jcode.php'; 繰り返し処理を行おうとしたところ、Fatal error: Cannot redeclare phpでのエラーとういうエラーが出…
「php Fatal error: Cannot redeclare phpでのエラー」をはてなブックマークに追加

UITextView キーボード処理

2011年05月01日 過去Blog
http://d.hatena.ne.jp/keitanxkeitan/20110117/1295276262
「UITextView キーボード処理」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy