[lug] htaccess redirect by user

lasten at korinth.com lasten at korinth.com
Thu Aug 2 14:09:02 MDT 2001

I have read through that prior to sending to the list.  Below the tutorial is 
a similiar topic with a subject of HTACCESS.   There was some interesting 
alternatives but still hoping to keep it within htaccess.  Per the other post 
modrewrite is interesting:P I am reading through that today and looks like it 
may swing it through I am thinking its gonna be more work then some of the 
alts to do.

Thanks for your posts back.


On Thursday 02 August 2001 01:38 pm, Greg Horne wrote:
> 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
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

More information about the LUG mailing list