Cleanup Old Log Files (revisited)

Back in Nov-2006 I wrote about a free script (WaRmZip) you could download to be used for deleting old log files. That script includes a lot of features and flexibility. Here’s a simpler script that does a similar cleanup of old log files that you might find useful. It includes a .vbs backend script plus a simple one line .bat batch file script that can be added to your SBS scheduler. 1. You can download a zip file from my website that contains the .vbs file, a sample .bat file and a sample log file. To keep things simply, I store these files … Continue reading Cleanup Old Log Files (revisited)

Cleanup log files

I stumbled across a handy Windows script file (WaRmZip) that is an all purpose utility for cleaning, compressing and/or moving outdated log files. For example, you may want to delete certain files older than X days. You can download this utility at WinAdmin’s web site: http://winadmin.forret.com/scripts/warmzip One use of this utility is to delete older IIS log files. Go to C:\Windows\System32\LogFiles directory on your server, and take a look at the contents of each of the subfolders (W3SVC1, etc).  You may be surprised to find hundreds of files in each of these subfolders. Using the WaRmZip utility, I can create a one line … Continue reading Cleanup log files

Recreate Virtual IIS directories

This post comes via Ray and Damian at Microsoft, via Les! Sometimes, things just get so screwed up that you want to re-create the virtual directories. I know the feeling. Thanks to Ray Fong and Damian Leibaschoff (both MS) for previous posts, here is how to do it.In IIS, expand Default Web site and remove the following virtual directories:– EXCHANGE– EXCHWEB– PUBLIC– OMA– EXADMIN– (Do not remove EXCHANGE-OMA)  Then, enable real time editing of the metabase in IIS admin, for this:1. Open properties on the server object.2. Check the box ‘Enable direct metabase edit’3. After this, open windows explorer and navigate to the following … Continue reading Recreate Virtual IIS directories

Tips to installing MELL – Microsoft e-Learning Library

Thanks to Jonathan for providing these notes: Installing MELL on a Microsoft SBS 2003 Server Step 1: Follow the steps to install MELL on a web server as outlined in the Mell 2.x Deployment Guide located here: http://go.microsoft.com/fwlink/?LinkId=9240&clcid=0x409 Step 2: Once completed, you’ll note that when trying to access MELL via http://servername/mell/eng, you get the following error: 006~ASP 0175~Disallowed Path Characters~The ‘..’ characters are not allowed in the Path parameter for the MapPath method.When attempting to access the reports via http://servername/mell/eng/reports, you’ll get the following error (if ‘Show  friendly HTTP error messages’ is disabled in IE):   Microsoft VBScript runtime error ‘800a01f4’  Variable is undefined: ‘Session’  /mell/eng/reports/inc/reportfunctions.inc, line 987 To resolve both of … Continue reading Tips to installing MELL – Microsoft e-Learning Library

Changing the SSL port number used by OWA

A question was asked “How can I change the SSL port# used to access OWA?“. This response was provided by Ray Fong (assuming we want to change the port# from 443 to 10001:1. Go to Exchange System Manager, Protocols -> HTTP. Right-click New HTTP Virtual Server.2. Specify “Exchange OWA 10001” for the name.3. Click Advanced, modify, change the port from 80 to 81. SSL port is not available, that’s OK.4. After you click OK and Applied, go back to the same screen. Now remove port 81 and specify 10001 as the SSL port. Click OK all the way.5. Follow the … Continue reading Changing the SSL port number used by OWA

Create Multiple Websites with one IP address (Host Headers)

Here are links to several web pages offering detailed information on using Host Headers: http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm http://www.4guysfromrolla.com/webtech/080200-1.shtml http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/windows2000/techinfo/reskit/en-us/iisbook/c08_hosting_multiple_sites_with_one_ip_address.asp http://www.experts-exchange.com/Web/Web_Servers/Q_20895583.html