php - 我在 url 中获得 repat 域名
问题描述
我的 URL 中出现重复域名
http://foo.example.com/foo.example.com/dashboard
访问代码
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . /index.html [L]
</IfModule>
我想要的输出是http://foo.example.com/dashboard
,有人看到我的错误吗?
解决方案
我找到了解决方案,问题在我的反应代码中。
推荐阅读
- c# - 由于其他触发器,WPF 触发器无法正常工作
- virtual-machine - 将 VMDK 文件转换为压缩的 RAW 文件
- node.js - 修改测试API request-response时express发送的请求对象
- javascript - 从常量数组中获取标签值
- android - __WEBPACK_AMD_DEFINE_ARRAY__ 未定义
- sql - 我如何检查现有记录并避免冗余数据
- xamarin - 使用搜索栏(或条目)呈现的自定义选择器
- c - 在 Eclipse 中对整个 C 项目运行自动格式化程序
- amazon-web-services - 如何在python中处理aws Lambda重试
- android - 多个 AutoCompleteTextView 的 OnItemClickListener 与 switch case 不工作