Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Webmin 面板版本 1.660 在服务器上托管了多个网站
如果我输入像 www.domain2.com 这样的现有子域,一切正常,但是对于像 wwwa.domain2.com 这样不存在的子域,服务器从 domain1.com 加载页面
有什么办法可以禁用此功能?
我希望不存在的子域会显示 404 错误或被重定向到适当的域。
如果您使用的是 Apache,请在 Google 中搜索 404 重定向和 url 重写。此外,如果你想把它放在未来,那么你还需要配置你的 DNS 以捕获所有子域并重定向到你的 HTTP 服务器
我在链接类实现中重载了'<<'运算符,我在主函数中声明了.cpp文件,但它不起作用,并且发生此错误: 未定义对运算符<&列表的引用)
这是linkedlist.h文件中ostream函数的声明:
friend
1 xmlhttprequest - 在 XMLHttpRequest 之后 JQuery 选择菜单未初始化
Reference php × 1429865 c/c++ × 756500 nginx × 49975 mongodb × 159057 mybatis × 3233 anaconda × 13410 pycharm × 14671 python × 1902243 vscode × 56040 docker × 110988 github × 49000 flask × 49129 ffmpeg × 24037 jmeter × 16910 matplotlib × 63493 bootstrap × 54641