さくら:スタンダード【旧】 concrete5 でプリティーURLを動かす方法
|
<IfModule mod_rewrite.c> |
|
RewriteEngine On |
|
RewriteBase / |
|
RewriteCond %{REQUEST_FILENAME} !-d |
|
RewriteCond %{REQUEST_FILENAME} !-f |
|
RewriteRule ^(.*)$ index.php?pathinfo=$1 [L,QSA] |
|
</IfModule> |
|
<?php |
|
if (isset($_GET["pathinfo"])){ |
|
$_SERVER["PATH_INFO"] = $_GET["pathinfo"] ; |
|
} |
|
require('concrete/dispatcher.php'); |
|
cgi.fix_pathinfo=1 |
|
default_charaset = UTF8 |
|
mbstring.language = neutral |
|
mbstring.internal_encoding = UTF-8 |