httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Justinic <>
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

I have created simple html redirect to make go to 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 to
be automatically changed to 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 to

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message