httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve <beforewis...@yahoo.com>
Subject [users@httpd] Apache 1.39: Automatically logging some users in: .htaccess: what to put in a cookie?
Date Thu, 21 Jul 2005 20:25:16 GMT

Hi;

My company is using Apache 1.39 on red hat.

They have a .htaccess file set up so that if anyone wants to see a set
of  files in a directory, that user must log in.

I would like to make an exception to this rule if the user is already
logged into a JSP application we have.  If the user is logged into this
application, that application can navigate to that directory, with no
login/password prompt coming up.

I thought I would make a special account for this JSP application in
the infouser and .htaccess files.  Then, I would have the JSP
application create a cookie to automatically log itself into to that
directory.

The only thing I don't know at this point is what to write in the
cookie.

I have poked around in the docs and haven't found what I needed.

If anyone knows how to do this, or if they can point me to some docs
that will give the information I would be much obliged.

Thanks much in advance

Steve



Steve
http://www.geocities.com/beforewisdom/

"The internet may be a good substitute for television, but is it a good substitute for what
television replaced?"

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message