Practical mod_perl / HTML Book /



previous page: 12.10.5. Backend Server Configuration
  
page up: HTML Version of the book
  
next page: 12.12. When One Machine Is Not Enough for Your RDBMS DataBase and mod_perl

12.11. HTTP Authentication with Two Servers and a Proxy


In a setup with one frontend server that proxies to a backend mod_perl server, authentication should be performed entirely on one of the servers: don't mix and match frontend- and backend-based authentication for the same URI.

File-based basic authentication (performed by mod_auth) is best done on the frontend server. Only authentication implemented by mod_perl handlers, such as Apache::AuthenDBI, should be performed on the backend server. mod_proxy will proxy all authentication headers back and forth, making the frontend Apache server unaware of the authentication process.

 

Continue to:

  • prev: 12.10.5. Backend Server Configuration
  • Table of Contents
  • next: 12.12. When One Machine Is Not Enough for Your RDBMS DataBase and mod_perl







TOP
previous page: 12.10.5. Backend Server Configuration
  
page up: HTML Version of the book
  
next page: 12.12. When One Machine Is Not Enough for Your RDBMS DataBase and mod_perl


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


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

© 2007 StasoSphere.com