Advanced deployment mappings
Right now i have set deployment and mappings correctly and everything works,
up until i follow very simple html/php structure f.e.
Connection
http://localhost/
Mappings
c:\www\ - /
When i load
c:\www\web\test.html
and click refresh in firefox, then
http://localhost/web/test.html is realoded on ff
But how do you go about with MVC routes when let's say
c:\www\web\about
contains php classes, views, models etc.
and when i click - 'Open in browser' on any file inside the folder
c:\www\web\about
it should always open/reload
http://localhost/web/about/
So maping should be looking like something with wildcards
c:\www\webabout\*.*\\* - http://localhost/web/about/
but it won't alow this.
is it possible to achieve something like this, or is there any plugins for this?
请先登录再写评论。
Hello!
Unfortunately there is no way to map all files in directory to same URL. But maybe rgirecting all http://localhost/web/about/.* to http://localhost/web/about/ on server by means of config would help you?