Zend Framework and a "Virtual Host" on IIS
I was able to get PHP setup correctly using the Web Platform installer. I have never touched IIS in my life, so this is an extremely simple question. My public web folder is here:
c:\inetpub\wwwroot\example\public
Although I just testing it out locally, I obviously would like to only expose the public folder. I know how to do this with Apache & my virtual host. Currently I load the site like this:
http://localhost/example开发者_Go百科/public
But would like to do it like this:
http://localhost
I am guessing I need to change paths, etc. but on top of it throwing a 404 when I change the physical path within IIS, I also want to make sure I don't miss anything. Which I am, because when I change the physical path on the website in IIS, it can't find anything.
Have you look at this: How to: Create and Configure Virtual Directories in IIS 7.0
精彩评论