Kayıtlar

Automatically Redirect HTTP requests to HTTPS on IIS 7 using URL Rewrite 2.0

Resim
In a previous article I covered the installation URL Rewrite 2.0 for IIS 7. This is a plug-in for IIS 7 that allows you to manipulate URL’s. URL Rewrite has a GUI to allow you to enter rules within IIS 7; in the background all this does is edit the web.config file of the site. I will show you how to create a rule both ways. In the following example we will redirect HTTP to HTTPs using URL Rewrite. You will need the following items completed in order for this to work correctly. – SSL Certificate for site installed in IIS. – Site properly installed and configured for SSL (site set up and binding in IIS configured). – URL Rewrite 2.0 is installed on the sever. GUI Version – Select the website you wish to configure – In the “Features View” panel, double click URL Rewrite You will notice there are currently no rules configured for this site. Click “Add Rules…” in the Actions menu to the right of the “Features View” panel Use the default “Blank rule” and press “OK”. Wh...

Move WSUS to another Hard Drive

Resim
Move WSUS to another Hard Drive is a timely, yet fun little project First things first, let’s add another hard drive (if it’s virtualized, what you will want to do is add a Fixed disk for this, because you are using it as a database) For my scenario WSUS is for Several Hundred servers, so i will add a 300GB Fixed disk (you can add whatever size necessary for your environment) boot up the VM/Server and make sure the Disk Mounts (if not go into server manager, format, etc) Once created, make a new folder on the disk named “WSUS-Storage” Before proceeding, to make life easier, go ahead and run a WSUS cleanup on your server to remove all old updates (less updates to move,the less time it will take) from there open a handy command prompt on WSUS Server from there change folders cd c:/Program Files/Update Services/Tools from there issue the following command: wsusutil movecontent D:/WSUS-Storage D:/Move.log  wait a few minutes as your data is being moved to ...