我想写htaccess文件,以便我可以指出如下
example.com - > root / web sub.example.com - > root
其中root是我的主机的根文件夹(localhost)