siluejp/silue_labo/master/html/.htaccess
# 基本は SC_Initial.php で設定するが、ini_setで反映されないものはここで設定する
#php_value mbstring.language Japanese
#php_flag mbstring.encoding_translation off
#php_value output_handler NULL
#php_flag magic_quotes_gpc off
#php_flag session.auto_start 0
# INI_ALL なのにもかかわらず, ini_set で指定しても反映されない環境がある...
#php_value mbstring.internal_encoding UTF-8
# デフォルトテンプレートの状態で 2M 近くになるため
#php_value upload_max_filesize 5M
#php_value post_max_size 8M
#php_flag register_globals off
<IfModule mod_rewrite.c>
RewriteEngine on
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{HTTPS} off
#RewriteCond %{REQUEST_URI} /js/ [OR]
#RewriteCond %{REQUEST_URI} /css/
#RewriteCond %{REQUEST_URI} /img/
#RewriteRule /.*$ http://geneks.sakura.ne.jp%{REQUEST_URI} [R,L]
#RewriteCond %{HTTPS} off
#RewriteRule /.*$ https://geneks.sakura.ne.jp%{REQUEST_URI} [R=301,L]
</IfModule>
On Github License
Files
Download PDF of Htaccess file