-
-
Save kaoru-fukusato/a0d37a1b2e4b4a9dc4813851b73c5d45 to your computer and use it in GitHub Desktop.
301リダイレクト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddHandler php7.1-script .php | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
</IfModule> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
php_value memory_limit 128M | |
php_value post_max_size 40M | |
php_value upload_max_filesize 30M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment