开发环境为.net 2.0 C#,使用IIS6.0</P> <P>ASP.net MVC版本为Preview 4</P> <P>RUN起来的URL形式像这样:</P> <P><A href="http://localhost/Home.mvc/">http://localhost/Home.mvc/</A></P> <P><A href="http://localhost/Home.mvc/About">http://localhost/Home.mvc/About</A></P> <P>参看了洋人的教程,<A href="http://biasecurities.com/blog/2008/how-to-enable-pretty-urls-with-asp-net-mvc-and-iis6/">http://biasecurities.com/blog/2008/how-to-enable-pretty-urls-with-asp-net-mvc-and-iis6/</A>,安装了ISAPI_Rewrite 扩展,并配置了httpd.ini和isapi扩展,但仍无法得到想要的URL形式</P> <P>理想的URL形式是:</P> <P><A href="http://localhost/Home/">http://localhost/Home/</A></P> <P><A href="http://localhost/Home/About">http://localhost/Home/About</A>
添加回答
举报
0/150
提交
取消