80或443 www到非www 443

时间:2020-05-28 09:06:37

标签: apache .htaccess web redirect

按照网络上的所有指南进行操作,使用.htaccess时,我的apache 2.4配置仍然无法完全正常工作。

当前非www 80可以重定向到非www 443。

但是,www不会重定向到非www;它停留在www。奇怪的是,它从80重定向到443。

这是我的.htaccess文件,我做错了什么事

StreamBuilder(
   stream: Firestore.instance.collection('products').snapshots(),
   builder: (context, snapshot) {
     if (!snapshot.hasData) return const Text("Loading...");
     return GroupedListView(
       elements: snapshot.data.documents,
       groupBy: (element) => element['category'],
       groupSeparatorBuilder: _buildGroupSeparator,
       itemBuilder: buildProductItem,
       order: GroupedListOrder.ASC,
     );
   }
),```

0 个答案:

没有答案