Jul 10 2009
Get root path, root url and any url of your website asp.net
This technique will help you to get url and path of server that you want.
Let’s see this result.
When I place this script on this path below :
http://www.aspgod.com/test/mappath/Default.aspx
And the script is :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Request.Url.AbsoluteUri // http://www.aspgod.com/test/mappath/Default.aspx Request.Url.AbsolutePath // /test/mappath/Default.aspx Request.ApplicationPath // because I'm not set the virsual directory indeep of the server Server.MapPath("") // d:\xxx\zzz\aspgod.com\httpdocs\test\mapath Server.MapPath("Default.aspx") // d:\xxx\zzz\aspgod.com\httpdocs\test\mapath\Default.aspx if you want to get the root path and root url. You must enter this script below: Request.Url.AbsoluteUri.Replace(Request.Url.AbsolutePath,string.Empty) + Request.ApplicationPath // www.aspgod.com/ Server.MapPath(this.Request.ApplicationPath).Replace("/", "\\") -> d:\xxx\zzz\aspgod.com\httpdocs |
—–
If I use this script on localhost the the result is :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Request.Url.AbsoluteUri // http://localhost:1904/aspgod/test/mappath/Default.aspx Request.Url.AbsolutePath // /test/mappath/Default.aspx Request.ApplicationPath // /aspgod my project is in this path E:\--- Other Project ---\aspgod\program\aspgod Server.MapPath("") // E:\--- Other Project ---\aspgod\program\aspgod\test\mapath Server.MapPath("Default.aspx") // E:\--- Other Project ---\aspgod\program\aspgod\test\mapath\Default.aspx if you want to get the root path and root url. You must enter this script below: Request.Url.AbsoluteUri.Replace(Request.Url.AbsolutePath,string.Empty) + Request.ApplicationPath // http://localhost:1904/aspgod Server.MapPath(this.Request.ApplicationPath).Replace("/", "\\") // E:\--- Other Project ---\aspgod\program\aspgod |
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Oct 02, 2009 @ 13:13:43
Hello! Base klooper for my english jer, buti plumb nice re say gJ$)Kd!!!.
Dec 06, 2009 @ 01:14:25
Thank you!
May 07, 2011 @ 18:09:46
f9LVRJ http://gdjI3b7VaWpU1m0dGpvjRrcu9Fk.com
Jul 31, 2011 @ 20:03:36
It’s funny goodluck danish lolita free photo 61028
May 02, 2012 @ 13:48:39
I’m only getting an answering machine http://egadifujoi.blog.free.fr/ young sexy bbs half way through the video hes not even hard yet, wait all the way through the video hes not even hard yet.
May 03, 2012 @ 05:28:43
History http://idiohufyba.de.tl tbm model damn shit like this make me wish i was a pornstar… shit where can i get an application lol what a job…
May 03, 2012 @ 07:22:41
I came here to study http://equmapohia.de.tl rompl pedo bbs these amateur allure vids are all the same. beautiful young women with lots of makeup fuck the shit out of some guy…who then for some strange reason has to jerk off to cum. looks good, but weak endings.
May 03, 2012 @ 10:00:22
Have you got any experience? http://iseseoeluci.de.tl teen bbs boards This is the best vid with Shyla in it I’ve ever seen. Looks a bit older, which for her is good, didn’t know she used to be such a knockout. She’s still hot, but not like in this vid.
May 03, 2012 @ 10:58:37
Have you seen any good films recently? http://qaienuqe.de.tl child nymphets links OMG. Seriously… Not a lesbian but I know a great looking girl when I see one. She is epitome of sex appeal. She knows how to put on a show.
May 03, 2012 @ 11:09:05
I’m a partner in http://upugeeuu.de.tl hotest teen models Great to see this video. I fucked a milf last week that looked just like her. The milf had bigger natural tits though and was amazingly tighter. She was the best woman I ever had.
May 03, 2012 @ 19:26:23
I’d like to cancel this standing order http://yytiroca.de.tl model lily tran ok i see how the do this i am getting me some bisness cards made now so i can get some hot action like this
May 03, 2012 @ 22:08:28
About a year http://rahiraaiyj.de.tl very little nymphets my god she is hot…look at that tight as body and that sweet little pussy slamming down on his big throbbing cock damn
May 03, 2012 @ 22:12:37
In a meeting http://sakebemimeras.de.tl models sexy bikini lol i couldnt finish the movie dam im glowin i can barely type she gets props for my first comment