Jan 30
RewriteEngine on
RewriteCond %{HTTP_HOST} foo\.example\.ne\.jp [NC]
RewriteCond %{REQUEST_URI} !^/bar/.*
RewriteRule (.*) /bar/$1 [L]
RewriteEngine on
RewriteCond %{HTTP_HOST} foo\.example\.ne\.jp [NC]
RewriteCond %{REQUEST_URI} !^/example/.*
RewriteRule (.*) index.php?virtualpath=/example/$1 [L,QSA]
RewriteCond %{HTTP_HOST} foo\.example2\.net [NC]
RewriteCond %{REQUEST_URI} !^/example2/.*
RewriteRule (.*) index.php?virtualpath=/example2/$1 [L,QSA]
RewriteCond %{HTTP_HOST} foo\.example3\.com [NC]
RewriteCond %{REQUEST_URI} !^/example3/.*
RewriteRule (.*) index.php?virtualpath=/example3/$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?virtualpath=$1 [L,QSA]
これでマルチドメインできるかな?
明日実験
No Comments yet.
OpenID を使ってログインすることができます。

Latest Comments
naiz:
> しづきさん あっ、確認不足でした!ちゃんとカスタマイ...
しづき:
>naizさん ping時に送信するURLは、NP_CustomURLでカスタ...
naiz:
すいません、URLを記述したのですが、コメントがそこで途切れ...
naiz:
こちらのプラグイン使わせていただいています。 pingを打つ...
しづき:
そうだ、後 ・ブックマークレットからの投稿時のPingイベン...