Skip to content

Instantly share code, notes, and snippets.

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

Embed
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]
</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
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.