This project is read-only.

how to remove virtual directory path in url

Topics: ASP.NET 2.0, Controls
Jun 7, 2011 at 3:04 PM

Dear all,

I'm have a problem with the url . The url like this http://myblogdomain/othersite/blog/.... 

I host my site in Gadaddy. The main site is hosted in root,called http://mainsite,my BE.NET site is a vitual directory ,and i set it as application.

The path is root/othersite/blog/[BE.NET] ,domain is http://myblogdomain/

When i access the http://myblogdomain,the urls generated by BE.NET are likely http://myblogdomain/othersite/blog/,the vitual directory is read out,

How can i remove the othersite/blog from url?

I don't want to modify the source code , i wanted to upgrade BE.NET.