Changeset 11
- Timestamp:
- 01/07/07 23:47:33 (2 years ago)
- Files:
-
- trunk (modified) (1 prop)
- trunk/ClassLibrary/UrlHelper.cs (modified) (2 diffs)
- trunk/Logs (modified) (1 prop)
- trunk/SmallSharpTools.UrlMapper.sln (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk
- Property svn:ignore changed from
_ReSharper.SmallSharpTools.UrlMapper
SmallSharpTools.UrlMapper.resharper.user
SmallSharpTools.UrlMapper.suo
SmallSharpTools.UrlMapper-Debug.zip
SmallSharpTools.UrlMapper-Release.zip
to
_ReSharper.SmallSharpTools.UrlMapper
SmallSharpTools.UrlMapper.resharper.user
SmallSharpTools.UrlMapper.suo
SmallSharpTools.UrlMapper-Debug.zip
SmallSharpTools.UrlMapper-Release.zip
SmallSharpTools.UrlMapper.resharper
- Property svn:ignore changed from
trunk/ClassLibrary/UrlHelper.cs
r3 r11 22 22 public static string GetRelativeSiteRoot() 23 23 { 24 if ("/".Equals(HttpContext.Current.Request.ApplicationPath)) 25 { 26 return String.Empty; 27 } 24 28 return HttpContext.Current.Request.ApplicationPath; 25 29 } … … 39 43 Protocol = "https://"; 40 44 41 string sOut = Protocol + HttpContext.Current.Request.ServerVariables["SERVER_NAME"] + Port + HttpContext.Current.Request.ApplicationPath; 45 string sOut; 46 if ("/".Equals(HttpContext.Current.Request.ApplicationPath)) 47 { 48 sOut = Protocol + HttpContext.Current.Request.ServerVariables["SERVER_NAME"] + Port; 49 } 50 else 51 { 52 sOut = Protocol + HttpContext.Current.Request.ServerVariables["SERVER_NAME"] + Port + HttpContext.Current.Request.ApplicationPath; 53 } 54 42 55 return sOut; 43 56 } trunk/Logs
- Property svn:ignore set to
MappingWebsite.log.txt
- Property svn:ignore set to
trunk/SmallSharpTools.UrlMapper.sln
r3 r11 3 3 # Visual Studio 2005 4 4 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassLibrary", "ClassLibrary\ClassLibrary.csproj", "{FB9ABB77-D18C-4768-8E3E-4061B82FEB51}" 5 ProjectSection(WebsiteProperties) = preProject 6 Debug.AspNetCompiler.Debug = "True" 7 Release.AspNetCompiler.Debug = "False" 8 EndProjectSection 5 9 EndProject 6 Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "D:\...\Website\", "Website ", "{42C5215E-3757-4AC3-81A5-4DFBDD4F1272}"10 Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "D:\...\Website\", "Website\", "{42C5215E-3757-4AC3-81A5-4DFBDD4F1272}" 7 11 ProjectSection(WebsiteProperties) = preProject 8 12 ProjectReferences = "{FB9ABB77-D18C-4768-8E3E-4061B82FEB51}|SmallSharpTools.UrlMapper.dll;" … … 21 25 Release.AspNetCompiler.FixedNames = "false" 22 26 Release.AspNetCompiler.Debug = "False" 23 VWDPort = "2305" 27 VWDPort = "8002" 28 VWDDynamicPort = "false" 29 VWDVirtualPath = "/" 24 30 EndProjectSection 25 31 EndProject
