9 lines
186 B
ApacheConf
9 lines
186 B
ApacheConf
RewriteEngine On
|
|
|
|
# Block direct access to data directory
|
|
RewriteRule ^data/ - [F,L]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^ index.php [L]
|