httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Justinic <arte...@yahoo.com>
Subject [users@httpd] Reroute all directories to ftp site user name
Date Fri, 28 Nov 2003 23:10:47 GMT
My host runs apache and I can use .htaccess files. 
Whenever I create an ftp account it creates it in this
format(the % being a variable for the user name
created):
ftp://account_number%@server_number.hostdomain.com

I have created simple html redirect to make
ftp.mydomain.com go to
ftp://account_number@server_number.hostdomain.com when
called from Internet Explorer.  This works, but I
would have to add a new file for each ftp account I
create and it doesn't work for FTP clients.  I would
like for any directory called from ftp.mydomain.com to
be automatically changed to
account_number%@server_number.hostdomain.com with the
directory called inserted at the %.  I think this
would be assumed, but I want all requests to that
address, not matter what port received on to be
changed to port 21 (ftp://).

I think this is a job for mod_rewrite but not sure how
do it when it's not just straight mydomain.com/% to hostdomain.com/%.

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message