[thelist] Re: 13. Password verification then redirect (Paul) and Re: HTML Emails (James Spahr)

Walter Lee Davis waltd at wdstudio.com
Tue Jan 2 15:02:08 CST 2001


It's a two-fer!

>  13. Password verification then redirect (Paul)
>  25. Re: HTML Emails (James Spahr)

>
>--__--__--
>
>Message: 13
>Reply-To: <paul.fisher at bushwhacker.co.uk>
>From: "Paul" <paul.fisher at bushwhacker.co.uk>
>To: <thelist at lists.evolt.org>
>Date: Tue, 2 Jan 2001 10:20:32 -0000
>charset="us-ascii"
>Subject: [thelist] Password verification then redirect
>Reply-To: thelist at lists.evolt.org
>
>Firstly, hope you all had a great 'turn-of-the-real-millennium'
>
>Secondly, and rather sadly, back to work...
>Can anyone direct me to a simple script that will take a username and
>password, validate it (preferably with .htaccess and .passwd files), and
>then send the user to his or her own sub directory.  I've looked all over
>for one of these but can't find one...
>
>Cheers,
>Paul
*************
This is a standard part of Apache -- you only have to uncomment some lines
in the httpd.conf file and give your users accounts on the server (you can
disable their shell if they're not privileged users) and it just works.

If you have more of them to do than would be practical with this sort of
scheme, you could build a login application that looks up users from a
database or flatfile and then redirects them into their directory. You
would set a session variable, test for its presence at the top of every
page in that directory, and kick them back to the login page if the session
has expired. I built such an animal once for client previews of work in
progress.

>--__--__--
>Message: 25
>Date: Tue, 02 Jan 2001 12:36:55 -0500
>Subject: Re: [thelist] HTML Emails
>From: James Spahr <jsp at designframe.com>
>To: "thelist at lists.evolt.org" <thelist at lists.evolt.org>
>Reply-To: thelist at lists.evolt.org
>
>> Actually, I have a similar question.  Right now, my boss is absolutely
>> convinced that you can send an email with Outlook that will be *both* text
>> and HTML and show up in the proper format based upon the capabilities of the
>> individual's email reader.  Any thoughts on this mess?
>
>yes you can do this - I don't think you can do it from outlook however.
>
>Technically you need to send a mime/multipart message, with a text/html part
>and a text/plain part. This is simple to do with a script - I don't know of
>any email client that will do it.
>
>
>James.
*******************
I have heard on many occasions (but I hate MIME mail, so I haven't tried
this to be sure) that Communicator's mail client is fabulous at this.

Walter








More information about the thelist mailing list