How to debug Apache Multiviews site

My site uses Apache Multiviews for multi-language support, where the server does an implicit filename pattern match and chooses the best match among the results. Like, if index.html doesn't exist, it checks for index.* and select the best matching one. In my cases this is either index.hmtl.en or index.html.de.

I configured the editor to recognize these patterns. But, how can I tell the internal web server, that it should handle the files as HTML and serve them?

0

The built-in web server is a very simple static server; there is no way to configure URL mappings there. So, I'm afraid, the built-in web server can't be used for previewing pages like yours.
We have a feature request to support .htaccess RewriteEngine in the built-in web server, https://youtrack.jetbrains.com/issue/WEB-21869/Support-.htaccess-files-for-built-in-web-server. Please vote for it to get notified on any progress.

0

请先登录再写评论。