使服务器自动附加@domain.com到ftp帐户
我有一个客户,打印了 10,000 个广告,上面写着 FTP 帐户的特定密码,可以说:horses1,由于多种原因我不得不将她迁移到新主机,她选择了 mediaTemple,并购买了一个帐户。
登录现在是 [email protected],这是一个问题,因为她所有的平面广告。
我想这可以用 mod_rewrite 和 htaccess 来解决,但我很确定 apache2 和 ftp 是不同的程序...如果我不能解决这个问题,我真的完蛋了...
编辑: 有没有办法创建 FTP 用户别名?
I have a client who, printed 10,000 advertisements with a specific password for an FTP account written on it lets say: horses1, for many reasons I have had to migrate her over to a new host, she chose mediaTemple, and bought an account.
The Login is now [email protected], which is a problem, becuase of all her print ads.
I'm thinking this can be fixed with mod_rewrite and htaccess, but I'm pretty sure apache2 and ftp are different programs... I'm really screwed if I cant fix this....
EDIT:
is there a way to create an FTP user alias?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Apache 只是一个 HTTP 服务器。 但也许 mod_ftp 及其
StripHostname
选项 可以帮助您。Apache is just a HTTP server. But maybe mod_ftp and its
StripHostname
option can help you.Apache 是一个 HTTP 服务器(由于其神奇之处,它可以像您喜欢的几乎任何类型的 TCP/IP 服务器一样运行,但几乎从来都不是),因此不会对 FTP 负责。
FTP 几乎肯定是由不同的服务器提供的,您需要先了解那是什么服务器以及您对其拥有的配置控制级别,然后才能继续操作。
Apache is an HTTP server (which, due to being magic, can be made to act like pretty much any kind of TCP/IP server you like, but almost never is) so won't be responsible for the FTP.
The FTP will almost certainly be supplied by a different server, and you'll need to find out what that is and what level of configuration control you have on it before you can proceed any further.
需要 @domain 的 FTP 站点几乎都是共享主机。
如果没有,您将无法进行配置更改以使其正常工作。
FTP sites that need @domain are almost always shared hosts.
You will not be able to make configuration changes to make it work without.