ok
Direktori : /home/pequenacapitolio/www/ |
Current File : /home/pequenacapitolio/www/web.config |
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirect to https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="off" ignoreCase="true" /> </conditions> <action type="Redirect" url="https://pequenacapitolio.com.br{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" /> </rule> </rules> </rewrite> <handlers> <add name="PHP-FastCGI7.4" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="C:\php7.4\php-cgi_2.exe" resourceType="File" /> </handlers> <urlCompression doDynamicCompression="false" /> <httpErrors errorMode="Detailed"> <remove statusCode="500" subStatusCode="-1" /> <remove statusCode="404" subStatusCode="-1" /> <remove statusCode="400" subStatusCode="-1" /> <error statusCode="400" path="/erros/400.html" responseMode="ExecuteURL" /> <error statusCode="404" path="/erros/404.html" responseMode="ExecuteURL" /> <error statusCode="500" path="/erros/500.html" responseMode="ExecuteURL" /> </httpErrors> <defaultDocument enabled="true"> <files> <add value="index.php" /> <add value="index.htm" /> <add value="index.html" /> <add value="index.asp" /> <add value="index.aspx" /> <add value="default.asp" /> <add value="default.aspx" /> </files> </defaultDocument> </system.webServer> </configuration>