mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
19 lines
379 B
ApacheConf
19 lines
379 B
ApacheConf
|
### SILVERSTRIPE START ###
|
||
|
<Files *.ss>
|
||
|
Order deny,allow
|
||
|
Deny from all
|
||
|
Allow from 127.0.0.1
|
||
|
</Files>
|
||
|
|
||
|
<Files web.config>
|
||
|
Order deny,allow
|
||
|
Deny from all
|
||
|
</Files>
|
||
|
|
||
|
<IfModule mod_rewrite.c>
|
||
|
RewriteEngine On
|
||
|
RewriteCond %{REQUEST_URI} ^(.*)$
|
||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||
|
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
|
||
|
</IfModule>
|
||
|
### SILVERSTRIPE END ###
|