Quantcast
Channel: Configuration & Scripting
Browsing all 780 articles
Browse latest View live

IIS 10 handler mappings has to add remove on whitespace to enable ISAPI...

<div class="vote">0down votefavorite<div class="favoritecount"></div></div> <div> <div class="post-text" itemprop="text">I use batch to add IIS 10 handler mappings...

View Article


Custom Site Delegation: enable handler mappings

I know how to enable handler mappings for given Site using IIS Manager but I want to use appcmd. Switching it on via IIS Manager produces such entry:<location path="SiteName"...

View Article


Configure MimeTypes for Specific Website

Hello,I'm trying to use powershell to configure mimetypes for a web site.  So far I have...Add-WebConfigurationProperty //staticContent -name collection -value...

View Article

Script for backup results

Hi there, I'm new to scripting and want to learn it. I have an environment with 12 servers that make a backup every day with Microsoft Windows Backup. I want to have one text file with all the results...

View Article

PS Script to Point All Error Pages to on HTML in a New VD

Hi, I'm trying to cobble together a PS script to point all error pages from their default to an html page I've placed in a new VDir.  I have little PS experience, but here's what I have...

View Article


Block Semalt, Foxweber, etc.

I would like to block a list of websites from even knowing my server exists.  I have Windows 2012.  I would like to block those websites being referrals.  It is not just an issue with Google Analytics,...

View Article

How could I remove/delete the rules from “FTP Authorization Rules” in...

I am trying to use Powershell to delete the "FTP Authorization Rules" from IIS7.Thought I found the "add-webconfiguration" Cmdlet and can add a new rule in "FTP Authorization Rules" successfully,but...

View Article

Redirect

Hello,i have write my web.config:<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><rewrite><rules><rule name="non-www-https to www https"...

View Article


405 (Method Not Allowed)

Hello,From chrome I'm sending an HTTP post in order to upload a json file to the IIS. Header:Content-Type : multipart/form-dataAccept : application/jsonThe response from IIS is:405 (Method Not...

View Article


minBytesPerSecond webLimit setting not taking effect

I have set the minBytesPerSecond webLimit configuration setting to '0' in the applicationHost.config, as well as ran the following command:appcmd.exe set config...

View Article

FTP connection established but showing directory listing denied

Hi,On Windows 2012 server, I have configured isolation FTP successfully and virtual folder. When access the FTP it is connected but when try to access "/virtual directory" error throw "directory...

View Article

staticCompressionIgnoreHitFrequency does not work at a web-site level

I am trying to delegate staticCompressionIgnoreHitFrequency attribute to a web-site level, so my users would be able to manage this setting independently.I changed my applicationHost.config as...

View Article

relative redirect of a file

Hi all,we are using a reporting tool (arcplan) in our company.They have recently upgraded their product to a new version. Unfortunately, one result is a new URL. Many of our users have bookmarked their...

View Article


IIS 10 - users from different domains

Hello everyone,I deployed a web application at a customer (by using Webdev 22), the application works well on this server and on pc machines from the same domain. Strangely, the application doesn't...

View Article

Sync Two IIS 8.5 Server configurations only excluding bindings

We have two IIS 8.5 web servers, Server 2012 R2Server1Server2I am trying to find a powershell script that will sync only changes made on Server1 to Server2I tried shared configurations however that...

View Article


how to load a SQL Server SMO DLL from bin folder instead of GAC ?

I have an ASP.net application which requires its session to be started.I recently started using SQL Server Management Objects. In order to leverage them; its registered DLLs are quired to be loaded. I...

View Article

PAC File - IIS - Redirection to a custom error page

<div> <div>Hi Everyone,I am trying to redirect unwanted HTTPS URLs to a proxy and display a custom error page.The big picture is to display an error page in the browser if an unwanted URL...

View Article


Programmatically assigning SSL bindings https 443

I have an Azure cloud service, which runs as a website engine and loads a slightly different site depending on which domain name you use.I'm working through using centralized certificates and assigning...

View Article

Powershell IIS add authentication user script

I am trying to add some authenticated users (with the name from $description) to my FTP server using Powershell, but I can't figure out how to do it. This is the code I am trying to use:Invoke-Command...

View Article

How to batch/script/automate importing URL rewrite rules from .htaccess file

Is it possible with IIS7.5 to automate importing .htaccess files?I have an external system that generates an apache .htaccess file that happens multiple times a day and would like a way to automaticly...

View Article
Browsing all 780 articles
Browse latest View live


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