diff options
| author | 2014-01-03 22:54:25 +0100 | |
|---|---|---|
| committer | 2014-01-03 22:54:25 +0100 | |
| commit | c80ab2af7e0f6de4acf6dc02fab208d7b5baff45 (patch) | |
| tree | b91657455d48fa31aaa9b0bc6d8828db3622db1d | |
| parent | 409c5ab4b20605cc6616b9b6ace3f95e0317c00b (diff) | |
Début de support de IIS
Serveur Web pour Windows. Pas encore testé.
| -rw-r--r-- | p/Web.config | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/p/Web.config b/p/Web.config new file mode 100644 index 000000000..2321c7613 --- /dev/null +++ b/p/Web.config @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + <system.web> + <httpRuntime executionTimeout="300" maxRequestLength="8192"/> + </system.web> + <system.webServer> + <defaultDocument> + <files> + <clear /> + <add value="index.php" /> + <add value="index.html" /> + </files> + </defaultDocument> + <urlCompression doStaticCompression="true" doDynamicCompression="true"/> + <staticContent> + <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="31.00:00:00" /> + </staticContent> + <caching> + <profiles> + <add extension=".css" policy="CacheForTimePeriod" duration="31.00:00:00" location="Any" kernelCachePolicy="DontCache" /> + <add extension=".gif" policy="CacheForTimePeriod" duration="31.00:00:00" location="Any" kernelCachePolicy="DontCache" /> + <add extension=".html" policy="CacheForTimePeriod" duration="31.00:00:00" location="Any" kernelCachePolicy="DontCache" /> + <add extension=".jpg" policy="CacheForTimePeriod" duration="31.00:00:00" location="Any" kernelCachePolicy="DontCache" /> + <add extension=".js" policy="CacheForTimePeriod" duration="31.00:00:00" location="Any" kernelCachePolicy="DontCache" /> + <add extension=".png" policy="CacheForTimePeriod" duration="31.00:00:00" location="Any" kernelCachePolicy="DontCache" /> + <add extension=".svg" policy="CacheForTimePeriod" duration="31.00:00:00" location="Any" kernelCachePolicy="DontCache" /> + <add extension=".woff" policy="CacheForTimePeriod" duration="31.00:00:00" location="Any" kernelCachePolicy="DontCache" /> + </profiles> + </caching> + <!--<httpProtocol> + <customHeaders> + <add name="Cache-Control" value="public" /> + </customHeaders> + </httpProtocol>--> + </system.webServer> +</configuration> |
