aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web.config')
-rw-r--r--web.config35
1 files changed, 0 insertions, 35 deletions
diff --git a/web.config b/web.config
deleted file mode 100644
index a46cca3..0000000
--- a/web.config
+++ /dev/null
@@ -1,35 +0,0 @@
-<configuration>
- <system.webServer>
- <rewrite>
- <rules>
- <clear />
- <rule name="BlockAccessToPublic" patternSyntax="Wildcard" stopProcessing="true">
- <match url="*" />
- <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
- <add input="{URL}" pattern="/web/*" />
- </conditions>
- <action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page using the credentials that you supplied." />
- </rule>
- <rule name="RewriteAssetsToPublic" stopProcessing="true">
- <match url="^(.*)(\.css|\.js|\.jpg|\.png|\.gif|\.ico)$" />
- <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
- </conditions>
- <action type="Rewrite" url="web/{R:0}" />
- </rule>
- <rule name="RewriteRequestsToPublic" stopProcessing="true">
- <match url="^(.*)$" />
- <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
- </conditions>
- <action type="Rewrite" url="web/app.php/{R:0}" />
- </rule>
- <rule name="Redirect to https">
- <match url="(.*)"/>
- <conditions>
- <add input="{HTTPS}" pattern="Off"/>
- </conditions>
- <action type="Redirect" url="https://{HTTP_HOST}/{R:1}"/>
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
-</configuration>