从一个域控制另一域

发布于 2024-09-12 00:47:34 字数 479 浏览 2 评论 0原文

我被要求制作一个营销网站。提供的概念如下 -

将有一个名为 www.game.com 的父网站。它将有一个管理员。我的客户将创建 www.baseball.com、www.football。 com、www.golf.com 等。所有这些网站都会有自己的管理员。

现在假设一位名叫 Jack 的高尔夫球手来到 www.game.com 管理员并要求他进行注册。

我的客户说 www.game.com 管理员将能够在 www.golf.com 下注册该玩家,因为他是一名高尔夫球手,而 Jack 将获得像 www.golf.com/Jack

                                  www.game.com/admin

www.baseball.com/ 这样的子域管理 www.football.com/admin www.golf.com/admin

这怎么可能?我应该如何处理?

i have been asked to make a marketing site.The concept provided is as follows-

There will be a parent site named www.game.com.It will have an admin.My client will create www.baseball.com,www.football.com,www.golf.com and so on.All these websites will have their own admin.

Now suppose a golf player named Jack comes to www.game.com admin and asks him to register himself.

My client is saying that www.game.com admin will be able to register that player under www.golf.com because he is a golf player and Jack will get a subdomain like www.golf.com/Jack

                                  www.game.com/admin

www.baseball.com/admin www.football.com/admin www.golf.com/admin

How is it possible ? how should i approach?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一人独醉 2024-09-19 00:47:34

您正在做的事情称为 URL 重写。查看这篇文章,了解其工作原理的基础知识。

http://en.wikipedia.org/wiki/Rewrite_engine

您还可以找到各种链接针对特定语言和平台的方法。

What you are looking at doing is called URL rewriting. Check out this article for the basics of how it works.

http://en.wikipedia.org/wiki/Rewrite_engine

You will also find links to various methods for specific languages and platforms.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文