[lug] htaccess redirect by user
Greg Horne
jeerygh at hotmail.com
Thu Aug 2 13:38:18 MDT 2001
Here is a tutorial on using .htaccess files. It has an overview of all then
commands available to the user:
http://apachetoday.com/news_story.php3?ltsn=2000-07-19-002-01-NW-LF-SW
If that doesn't help i'll see what else I can dig up.
Greg Horne
>From: lasten at korinth.com
>Reply-To: lug at lug.boulder.co.us
>To: lug at lug.boulder.co.us
>Subject: [lug] htaccess redirect by user
>Date: Thu, 2 Aug 2001 12:11:41 -0600
>
>
>I thought somewhere I read one could set up redirects by user within an
>htaccess file, but for the life of me I cannot remember where I saw it.
>Then
>to make matters worse I dont remember exactly what I read hehe.
>
>Here is what I have thought about so far as another way to do it.
>
>1. I have done this with my own javascript an clear users/passwords though
>I
>could have hashed them.
>2. I could use a cgi script to pull teh username variable out to then
>redirected based on that variable.
>3. If I am using php that has some nice stuff to allow me to pull a
>username
>variable out as well.
>
>Those are some thoughts for alternatives but I am hoping for an easier
>quicker way within the htaccess file. Not sure if it is possible but if
>the
>username entered into the prompt for the htaccess file has a variable name
>I
>could call within the file and on success goto http://blah.com/$var
>where $var is the username the person entered.
>
>Well that about covers my thought process on this any suggestions are most
>apprecatiated.
>
>Thanks in advanced all:P
>-Todd Neal
>
>PS sorry if list gets two mails
>_______________________________________________
>Web Page: http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
More information about the LUG
mailing list