OPENi-ict/api-builder/master/.htaccess - Htaccess File

OPENi-ict/api-builder/master/.htaccess

# Follow symbolic links in this directory.
Options +FollowSymLinks

<IfModule mod_autoindex.c>
  # Don't show directory listings for URLs which map to a directory.
  Options -Indexes
</IfModule>

<IfModule mod_rewrite.c>
  RewriteCond %{SCRIPT_FILENAME} -d
  RewriteCond %{SCRIPT_FILENAME} -f
  RewriteRule "(^|/)." - [F]
</IfModule>

<FilesMatch "(.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$">
  Order allow,deny
  Deny from all
  Satisfy All
</FilesMatch>

<IfModule php5_module>
  php_value session.cookie_httponly true
</IfModule>

On Github License

Files

Download PDF of Htaccess file
SCRIPT_FILENAME

Comments

Apache