문제

I have a site, www.domain.com. I want to set up a blog which runs on a same server but in different virtual directory, and have it available a the domain www.domain.com/blog.

How would I go about doing this? If it were blog.domain.com, then it would be easy, but with www.domain.com/blog I'm not so sure.

I'm using Windows Server 2008 / IIS 7.

I have already been through these tutorial but If some one has better approach please do let me know

Tutorial1

Tutorial2

도움이 되었습니까?

해결책 2

Able to run subdirectory on seprate virtual directory using URL Rewrite v2 and Application Request Routing

For more detail please see here link

다른 팁

You should just be able to add it to the existing site. Something like

appcmd add VDIR /app.name:/<existingsite>/blog /path:/blog /physicalPath:/<whereYourBlogIs>

NOTE: appcmd is in the %windir%\system32\inetsrv\ directory on my machine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top