▼ 2008/01/10(木) .htaccessでurl偽装時の注意点。さくらインターネット
さくらインターネット&マルチドメインでの運用上の注意
http://pakapaka.jp/softwareinfo/71.html
本来、RewriteBaseは必須のよう。
RewriteBaseが必ず必要cpa-lab/test/test2/に.htaccessを置く場合。
RewriteEngine on
RewriteBase /test/example
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?param=$1 [L]
となるhttp://pakapaka.jp/softwareinfo/71.html
本来、RewriteBaseは必須のよう。
▼ コメント(0件)
- TB-URL http://www.cpa-lab.com/tech/04/tb/
▼ 2008/01/10(木) mod_rewrite クエリーを残すリダイレクト
- TB-URL http://www.cpa-lab.com/tech/09/tb/
▼ 2008/01/10(木) html 特殊文字
- TB-URL http://www.cpa-lab.com/tech/08/tb/
▼ 2008/01/10(木) Amazon のカートに入れる機能の仕様が変更?
- TB-URL http://www.cpa-lab.com/tech/07/tb/
▼ 2008/01/10(木) 新ISBNについて
- TB-URL http://www.cpa-lab.com/tech/06/tb/
▼ 2008/01/10(木) simpleXMLの例外処理 エラー
http://php.mirror.camelnetwork.com/manual/ja/ref.simplexml.php
<?php
$xmlstr = ''; // empty to throw an exception
try {
$xml = new SimpleXMLElement($xmlstr);
} catch (Exception $e) {
// handle the error
echo '$xmlstr is not a valid xml string';
}
?>
- TB-URL http://www.cpa-lab.com/tech/05/tb/