open2/gnuboard4-buldang-pack/master/.htaccess - Htaccess File

open2/gnuboard4-buldang-pack/master/.htaccess

# to protect config.php
<Files config.php>
order allow,deny
deny from all
</Files>

# to protect dbconfig.php
<Files dbconfig.php>
order allow,deny
deny from all
</Files>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-zA-Z0-9_]+)(/?)$ /bbs/board.php?bo_table=$1 [QSA]
RewriteRule ^([a-zA-Z0-9_]+)/([0-9]+)$ /bbs/board.php?bo_table=$1&wr_id=$2 [QSA]
</IfModule>

# issue 13
<FilesMatch ".(js)$">
ForceType 'application/javascript; charset=euc-kr'
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache