What is a "Foreword" to a blog?
Apache 1.39:  Automatically logging some users in:  .htaccess:  what to put in a cookie?
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > Apache 1.39: Automatically logging some users in: .htaccess: what to put in a cookie? 22 July 2005 00:25:16

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Apache 1.39: Automatically logging some users in: .htaccess: what to put in a cookie?

Steve 22 July 2005 00:25:16
 
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.geocitie­s.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.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > Apache 1.39: Automatically logging some users in: .htaccess: what to put in a cookie? 22 July 2005 00:25:16

see also:
Png Could not find/open font
form box question
globals off in function
пройди тесты:
What is Your Temperament?
see also:
v prinzipe ia otdam Sashie vse deni...
ia gangster

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .