Warning: include_once(/home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/include/inner-header.php) [function.include-once]: failed to open stream: No such file or directory in /home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/wp-content/themes/hoshiya/header.php on line 39

Warning: include_once() [function.include]: Failed opening '/home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/include/inner-header.php' for inclusion (include_path='.:/usr/local/php5/php') in /home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/wp-content/themes/hoshiya/header.php on line 39

Warning: include_once(/home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/include/under-body.php) [function.include-once]: failed to open stream: No such file or directory in /home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/wp-content/themes/hoshiya/header.php on line 42

Warning: include_once() [function.include]: Failed opening '/home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/include/under-body.php' for inclusion (include_path='.:/usr/local/php5/php') in /home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/wp-content/themes/hoshiya/header.php on line 42

Warning: include_once(/home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/include/header.php) [function.include-once]: failed to open stream: No such file or directory in /home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/wp-content/themes/hoshiya/header.php on line 44

Warning: include_once() [function.include]: Failed opening '/home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/include/header.php' for inclusion (include_path='.:/usr/local/php5/php') in /home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/wp-content/themes/hoshiya/header.php on line 44

イタリアンの料理教室に参加してきた。

今日は山口合同ガスさんが主催するイタリアンの料理教室に参加してきました。

料理教室

パスタが好きなので、好きなパスタが自分で作れたらいいなと思って行ってきました。

今日は4回あるうちの1回目。

作った料理は以下です。(↓これは講師が作った見本)

料理

  • ブルスケッタ
  • フレッシュトマトとモッツァレラチーズのぺペロンチーノ(バジル風味)
  • パンナコッタ

講師は周南市の銀南街けやき通りにある『イタリアンカフェ&ダイニング COVO』の料理長の森重さん(写真中央)で、本格的なメニューのように見えましたが、材料は以外に数少なく、調理方法もシンプルでした。

4人1組で共同で作るのですが、素人が初めて作るにしては上出来の味でした。

家でも再現できそうなので、バジルを使った料理は家族に自慢できそうです。

時間に少し余裕があったので、餃子の皮を使ったピザをコンロのグリルを使って焼いて食べました。

これも簡単でおいしかったので今度子供に作ってあげようと思います。

参加費は4回分で5,000円なのですが、お土産に光市にある河村醤油の『ジュレぽん太』をいただき、料理が習えて、食べれて、お土産付きなので、『安い!』と思いました。

来月ある次回が楽しみです。

Posted in 商品カテゴリー, 雑記 | Tagged | Leave a comment

htaccessでURLのハイフンとアンダーバーを変換する

MovableTypeからWordPressに移行した際に、以前のURLにズレが生じました。

【移行前】http://hoshiya.biz/blog/2012/02/post-123.php
【移行後】http://hoshiya.biz/blog/2012/02/post_123.php

上記のように、”-”(ハイフン)が”_”(アンダーバー)に入れ替わってる。

せっかく検索で上位に以前のページがヒットしても、リンク先にはページがないとなるともったいない…。
そんな事態に陥っていることに気づきました。

そこで、mod_rewriteを使ってURLの変換をすることができました。

/blogのディレクトリ直下にある.htaccessに以下を追記

<IfModule mod_rewrite.c>

	Options +FollowSymLinks

	RewriteEngine On
	RewriteBase /blog/
	RewriteRule ^index\.php$ - [L]

	// ↓↓ この1行を挿入 ↓↓
	RewriteRule ^([0-9]+)/([0-9]+)/post-(.+)\.php$ /blog/$1/$2/post_$3.php [R,L]

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule . /blog/index.php [L]

</IfModule>

これで、post-123.phpがpost_213.phpに変換され、無事にページが表示されました。

Posted in WEB | Tagged , | Leave a comment

Google Maps JavaScript API V3で地図を表示してみる。


Fatal error: Call to undefined function mShot() in /home/sites/heteml/users158/m/h/0/mh0723/web/hoshiya.biz/wp/wp-content/plugins/grimp-php/grimp-php.php(75) : eval()'d code on line 1