質問

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