Skip to content

Instantly share code, notes, and snippets.

@katzueno katzueno/.htaccess
Last active Aug 29, 2015

What would you like to do?
さくら:スタンダード【旧】 concrete5 でプリティーURLを動かす方法
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?pathinfo=$1 [L,QSA]
if (isset($_GET["pathinfo"])){
$_SERVER["PATH_INFO"] = $_GET["pathinfo"] ;
default_charaset = UTF8
mbstring.language = neutral
mbstring.internal_encoding = UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.