Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redirect based on username

Status
Not open for further replies.

msteder

Technical User
Jan 30, 2003
72
US
I want users to come into ftp.mike.com (root dir is /var/ they get prompted for their username and password either by .htaccess or mod_auth_shadow, then based on their username they get redirected to an alias.

Login as mike and get redirected to /home/mike/public_html or /home/mike.

Is there a way to get the username variable and use it in the apache httpd.conf file or do I need to create a cgi to do this.

thanks, mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top