Last active
December 26, 2015 10:58
-
-
Save erikng/7140045 to your computer and use it in GitHub Desktop.
Mountain Lion Server - Maverick Client Support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_USER_AGENT} Darwin/9 | |
RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-leopard.merged-1.sucatalog | |
RewriteCond %{HTTP_USER_AGENT} Darwin/10 | |
RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-leopard-snowleopard.merged-1.sucatalog | |
RewriteCond %{HTTP_USER_AGENT} Darwin/11 | |
RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-lion-snowleopard-leopard.merged-1.sucatalog | |
RewriteCond %{HTTP_USER_AGENT} Darwin/12 | |
RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog | |
RewriteCond %{HTTP_USER_AGENT} Darwin/13 | |
RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>otherCatalogs</key> | |
<array> | |
<string>index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string> | |
<string>index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string> | |
<string>index-lion-snowleopard-leopard.merged-1.sucatalog</string> | |
<string>index-leopard-snowleopard.merged-1.sucatalog</string> | |
</array> | |
</dict> | |
</plist> |
@tjsoftworks I think that apple wants more people to go to caching server for software updates.
Motionbug, that would be fine if caching server served updates. It just serves apps.
@jondthompson the Caching service as part of Server.app 2.2.1 did serve software updates when accessed by clients running 10.8.2 or later, the one in Mavericks server also serves these other content types.
Also, people are seemingly coming to this thread without context, just to be explicit this gist seems like it was originally helpful for folks using the wdas/reposado project.
Hey guys, sorry for never replying to any of the comments (I never received any notifications!).
Given that Yosemite is now quasi-public, I've decided to make a new gist for it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I replaced
swupd.conf
andswupd.plist
with the files above, but how can I access the sucatalog file?http://su.example.com:8088/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
doesn't seem to work...