mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Remove .htaccess (no longer in webroot)
See https://github.com/silverstripe/silverstripe-framework/issues/7405
This commit is contained in:
parent
85a951584e
commit
ffcfd4b7e8
@ -1,9 +0,0 @@
|
||||
<FilesMatch "\.(php|php3|php4|php5|phtml|inc)$">
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
<FilesMatch "(main|rpc|tiny_mce_gzip)\.php$">
|
||||
Allow from all
|
||||
</FilesMatch>
|
||||
<FilesMatch "silverstripe_version$">
|
||||
Deny from all
|
||||
</FilesMatch>
|
20
web.config
20
web.config
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<system.webServer>
|
||||
<rewrite>
|
||||
<rules>
|
||||
<rule name="Block Scripts" stopProcessing="true">
|
||||
<match url="([^\\/]+)\.(php|php3|php4|php5|phtml|inc)$" />
|
||||
<conditions trackAllCaptures="true">
|
||||
<add input="{REQUEST_FILENAME}" pattern="\b(main|rpc|tiny_mce_gzip)\.php$" negate="true" />
|
||||
</conditions>
|
||||
<action type="AbortRequest" />
|
||||
</rule>
|
||||
<rule name="Block Version" stopProcessing="true">
|
||||
<match url="\bsilverstripe_version$" />
|
||||
<action type="AbortRequest" />
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
</system.webServer>
|
||||
</configuration>
|
Loading…
x
Reference in New Issue
Block a user