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


ピックアップ記事

iPhoneアプリをAppStoreに公開する手順(編集中)

2011年02月05日 過去Blog
iTunes Connectを利用してアプリケーションを送信し、App Storeでの公開を依頼するには、 以下のものが必要です。 ■ アプリケーションのバイナリ ■ iOS用のバイナリ:iPhoneおよびiPod touch用の57ピクセルのアイコンとオプションの114 ピクセルの高解像度アイコン、またはiPad用の50ピクセルのアイコンと72ピクセルのアイコン を含む パソコン用のApp…
「iPhoneアプリをAppStoreに公開する手順(編集中)」をはてなブックマークに追加

エラー : fsockopen関係でエラーが出る

2009年11月25日 過去Blog
ページランク取得のプログラムをMODxやWordpress内で動かそうとすると以下のエラーが出る。 Error: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known CMSの内部ではなく、以下のようにphpファイルを直接動かすと正常…
「エラー : fsockopen関係でエラーが出る」をはてなブックマークに追加

[PHP]Cannot use object of type stdClass as array

2011年03月24日 過去Blog
根本的な解決ではないかもしれませんが、「Cannot use object of type stdClass as array」エラーが出る場合は、配列の扱い方を以下のように変更する事で解決しました。 $row["catID"] ↓ $row->catID
「[PHP]Cannot use object of type stdClass as array」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy