问题
I am getting same version name for WSS and MOSS 2007?
response = urllib2.urlopen(url)
print response.info().getheader('MicrosoftSharePointTeamServices')
I am using the above python code to get the verion of the sharepoint verion using the site URL.
WSS:MicrosoftSharePointTeamServices: 12.0.0.4518 MOSS:MicrosoftSharePointTeamServices: 12.0.0.4518 SP2010:MicrosoftSharePointTeamServices: 14.0.0.4762
So i am confused now because for MOSS and WSS it return the same version id.Why its happening how to resolve it? Is there any v\way to
回答1:
The version is exactly the same for both. MOSS is nothing more than a couple of extra modules on top of WSS.
Have a look at this post about how to differentiate between MOSS and WSS from inside SharePoint code.
Not sure if this will help you as you want to look remotely. You may want to consider adding a simple web service to your SharePoint instance. Alternatively try requesting a MOSS only web page and see if that exists.
来源:https://stackoverflow.com/questions/5002569/i-am-getting-same-version-name-for-wss-and-moss-2007