Tutorial: How to make WSUS 3.0 Selfupdate work with Apache
The problem: You want to run Apache or another web server besides IIS on port 80 on a machine which is also running Windows Server Update Services (WSUS). When you disable IIS's Default Web Site running on port 80, WSUS stops working normally and the following error is reported in the Event Log:
Event ID: 13042 Type: Error Self-update is not working. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
The cause: While client machines use an IIS web site on port 8530 by default to interact with WSUS, some files are required to be accessible on port 80 as well.
The solution: Make the needed files available via Apache or the other web server you want to run on port 80.
Assuming a default install of WSUS 3.0 and a default install of Apache 2.x running on port 80, add the following lines to your httpd.conf file:
############################################### # Allow WSUS SelfUpdate to work Alias /Selfupdate "C:/Program Files/Update Services/Selfupdate" Alias /selfupdate "C:/Program Files/Update Services/Selfupdate" Alias /ClientWebServiceM5 "C:/Program Files/Update Services/webservices/ClientWebServiceM5" <Directory "C:/Program Files/Update Services"> Order deny,allow Allow from all </Directory>
If you installed WSUS to another directory, change the paths above as appropriate.
Ensure that the default web site on IIS is disabled by going to Start -> Administrative Tools -> Internet Information Services (IIS) Manager, expand the local computer tree item and the Web Sites item, right-click on Default Web Site and choose Stop from the menu.
Restart Apache (most easily done by double-clicking Apache Monitor in the system tray and clicking Restart in the window that appears).
To test that it works, type:
http://localhost/Selfupdate/iuident.cab
into your browser. It should try to save a CAB file. If you get a page not found error, check the paths in httpd.conf above. If you get a permission denied erorr, make sure that the user Apache is running as has access to C:\Program Services\Update Services\Selfupdate and all of its child folders.
When WSUS is working normally again you should see the following message appear shortly in the Event Log:
Event ID: 13040 Type: Information Self-update is working. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Good luck!
Printer-friendly version- 521 reads
Post new comment