Search code examples
.htaccessmod-rewriteftpmediatemple

make server auto-append @domain.com to ftp account


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 horses1@HER-DOMAIN.com, 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?


Solution

  • Apache is just a HTTP server. But maybe mod_ftp and its StripHostname option can help you.