Free Books / Computers / Practical mod_perl / books


previous page: Appendix A. mod_perl Recipespage up: Practical mod_perl | by Stas Bekman and Eric Choletnext page: A.2. Reusing Data from POST Requests

A.1. Emulating the Authentication Mechanism

Search

Titles
  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors
  • Site Listing

Discover
  • Find Articles
  • FAQ Help Tutorials























Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

You can authenticate users with your own mechanism (instead of the standard one) but still make Apache think that the user was authenticated by the standard mechanism. Set the username with:

$r->connection->user('username');

Now you can use this information, for example, during logging, so that you can have your "username" passed as if it was transmitted to Apache through HTTP authentication.

 

Continue to:

  • prev: Appendix A. mod_perl Recipes
  • Table of Contents
  • next: A.2. Reusing Data from POST Requests

Books by Stas Bekman:

Tags

practical mod_perl, modperl, Apache, perl, cgi, html, scalability, free, open source, OSS, squid, high availability, linux, unix, web, www, webserver, admin, book, webmaster, tools, modperl guide, docs, documentation, help, script, eric cholet, stas bekman, performance, speed, choice









TOP
previous page: Appendix A. mod_perl Recipespage up: Practical mod_perl | by Stas Bekman and Eric Choletnext page: A.2. Reusing Data from POST Requests

© 2007 StasoSphere

[ Privacy Policy ] [ Terms of Use ] [ About Us ] [ Search ]

Last modified Mon Oct 20 15:54:37 2008