Prior to 10.1, I could locate the server.dat file, and programmatically find out the arcgisoutput folder URL location (virtual directory when using IIS)
e.g.
<Directory>
<Path>c:\arcgisserver\arcgisoutput</Path>
<URL>http://lap-303689/arcgisoutput</URL>
<Description></Description>
<Type>output</Type>
<Cleaning>sliding</Cleaning>
<MaxFileAge>600</MaxFileAge>
</Directory>
At 10.1, the arcgisserver folder default location is now: C:\arcgisserver\directories\arcgisoutput
This is fine, but how do I find out what URL was set to in the post install?
I understand that there is now an embedded Tomcat within 10.1 (similar to Java edition of AGS), but I am unsure on which file contains the URL info (including the port number).
-EDIT-
Have reopened this Q, as have agreed with FredP that there should be a better approach to get the arcgisserver physical AND virtual paths from ArcObjects.