Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Configure MimeTypes for Specific Website

$
0
0

Hello,

I'm trying to use powershell to configure mimetypes for a web site.  So far I have...

Add-WebConfigurationProperty //staticContent -name collection -value @{fileExtension='.otf';mimeType='application/octet-stream'}

This works well, but I want changes to occur only on a web site, not the whole IIS server.  How to I 'point' this command at a web-site?

Thank you


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>