Little code improvement

Here is a little code improvement:

* Correspond to multiple middleware
* Set the file if subdirecotry is requested
* Correspond to "include virtual"