Category IIS

multiple reverse proxy host broken

Nathan Bridgewater explained how to configure multiple reverse proxies properly with apache and IIS (without losing original domain name).  I’m reposting this for myself to keep a record of this fine work. multiple reverse proxy host broken iis serving up…

Fix HTTP Error 401.3 IIS 6.0

Details This particular error is indicating that some file in your site’s directory structure does not have permissions to be viewed by your web site. You need to ensure all files for your site are readable/executable One easy way to…

IIS 6.0 Add Host Headers in Bulk

IIS 6.0 Add Host Headers in Bulk To add host headers in bulk (IIS 6.0) you will need these two scripts in C:\Inetpub\AdminScripts: AppendHostHeaders.vbs chglist.vbs Additionally you will need an input csv called “c:\sites.csv” that follows this format (id, sitename…

iis 6.0 script 301 redirect

How can you script a 301 redirect in IIS 6.0? @REM Redirect site #1 in IIS 6.0 to brakertech.com cscript.exe c:\inetpub\adminscripts\adsutil.vbs set w3svc/1/Root/HttpRedirect “, EXACT_DESTINATION,PERMANENT” @REM List redirect properties for site #1 in IIS 6.0 cscript.exe c:\inetpub\adminscripts\adsutil.vbs get w3svc/1/Root/HttpRedirect @REM…

Run IIS6 in 32 bit mode

To run IIS6 in 32bit mode you need to run these commands: cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1 “C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe” -i

fix 401.3 IIS WordPress PHP Upload

How do you fix 401.3 IIS WordPress PHP Upload ? Issue After uploading a file via WordPress you get prompted for username and password (due to IIS 6 and php being the backend). Details On a Microsoft platform utilizing IIS,…

list all host headers iis

source: Option Explicit On Error Resume Next Dim objBaseNode, objChildNode Dim objBindings, intBindings Dim objFSO, objFile, strOutput ‘ get a base object Set objBaseNode = GetObject(“IIS://LOCALHOST/W3SVC”) Set objFSO = WScript.CreateObject(“Scripting.FileSystemObject”) Set objFile = objFSO.CreateTextFile(“HostHeaders.txt”) ‘ check if we have…

reinstall asp.net script

Here’s a reinstall asp.net script: This example is for asp.net 4.0 on a 64 bit system, it stops IIS, uninstalls all versions of asp.net, reinstalls asp.net, then starts IIS: NET STOP IISADMIN /Y “C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe” -ua “C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe” -i NET START IISADMIN…