19 lines
653 B
Plaintext
19 lines
653 B
Plaintext
# ----------------------------------------------------------------------
|
|
# Start rewrite engine
|
|
# Provides a rule-based rewriting engine to rewrite requested URLs on the fly
|
|
# http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
|
|
# ----------------------------------------------------------------------
|
|
|
|
# FollowSymLinks must be enabled for this to work
|
|
<ifmodule mod_rewrite.c="">
|
|
Options +FollowSymlinks
|
|
RewriteEngine On
|
|
</ifmodule>
|
|
|
|
# Block access to "hidden" directories whose names begin with a period
|
|
<ifmodule mod_rewrite.c="">
|
|
RewriteCond %{SCRIPT_FILENAME} -d
|
|
RewriteCond %{SCRIPT_FILENAME} -f
|
|
RewriteRule "(^|/)\." - [F]
|
|
</ifmodule>
|