# ----------------------------------------------------------------------
# Discard mod_layout for the image conversion script if necessary.
# See http://www.rcdtokyo.com/pc2m/note/archives/i000768.php for details.
# ----------------------------------------------------------------------

# LayoutIgnoreURI im.php
# LayoutCacheNeeded off

# ----------------------------------------------------------------------
# Set every include files to deny any outside accesses.
# ----------------------------------------------------------------------

<Files ~ "^.*\.(inc|class)\.php$">
    order deny,allow
    deny from all
</Files>

# ----------------------------------------------------------------------
# Change PHP_INI_PERDIR options if allowed.
# ----------------------------------------------------------------------

php_flag magic_quotes_gpc off
php_value mbstring.func_overload "0"
php_flag mbstring.encoding_translation off
php_flag session.auto_start off
php_flag session.use_trans_sid off

# ----------------------------------------------------------------------
# mod_rewrite to enable fancy URL.
# Additional configuration at Config.inc.php is required.
# ----------------------------------------------------------------------

# RewriteEngine on
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteRule ^.*$ /pc2m/pc2m.php [L]

# ----------------------------------------------------------------------
# Hide the extension if you like (and if allowed).
# ----------------------------------------------------------------------

# <Files pc2m>
#     ForceType application/x-httpd-php
# </Files>
