asp.net mvc - Directory browsed instead of showing view -


i have project on tested stuff related experimentation: .net mvc - controller/view , physical path?

now can't display normal mvc view:

on http://mvc4testsomething/folder/index , view displayed. on http://mvc4testsomething/folder/, "http error 403.14 - forbidden" error.

here's current routes: routes.ignoreroute("{resource}.axd/{*pathinfo}");

        routes.maproute(             "default",             "{controller}/{action}/{id}",             new { controller = "home", action = "index", id = urlparameter.optional }         );          routes.maproute(             "folder",             "folder/{action}/{id}",             new { controller = "folder", action = "index", id = urlparameter.optional }         ); 

web.config has:

<directorybrowse enabled="false" showflags="date, time, size, extension" /> 

if change directorybrowse true in web.config, displays folder content, not view.

than help.

ok found it. had delete physical "folder" folder. start of experimentation (the other question linked in topic).


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -