Apache::RedirectDBI

Redirect requests to different directories based on the existence of a user in one or more database tables
Download

Apache::RedirectDBI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • George Sanderson
  • Publisher web site:
  • http://search.cpan.org/~sanderson/

Apache::RedirectDBI Tags


Apache::RedirectDBI Description

Redirect requests to different directories based on the existence of a user in one or more database tables Apache::RedirectDBI is a Perl module to redirect requests to different directories based on the existence of a user in one or more database tables.SYNOPSISPerlModule Apache::DBI Apache::RedirectDBI< Location /path/to/virtual/directory > SetHandler perl-script PerlHandler Apache::RedirectDBI PerlAuthenHandler Apache::AuthenDBI PerlSetVar Auth_DBI_data_source dbi:Oracle:CERT # : # and other Auth_DBI_* variables # : PerlSetVar RedirectDBI_data_source dbi:Oracle:CERT PerlSetVar RedirectDBI_username nobody PerlSetVar RedirectDBI_password nobody PerlSetVar RedirectDBI_location /path/to/virtual/directory PerlSetVar RedirectDBI_default /path/to/virtual/directory.1 PerlSetVar RedirectDBI_table2uri "t1 /directory.2 t2 /directory.3" PerlSetVar RedirectDBI_field DB_field_name_containing_username PerlSetVar RedirectDBI_url DB_field_name_containing_redirect_url PerlSetVar RedirectDBI_external External_REDIRECT_is_issued AuthName "Realm" AuthType Basic Require valid-user< /Location >Apache::RedirectDBI allows you to create a virtual path in your document hierarchy.All requests for access to this virtual path should require a username and password to access. When the user attempts to access this virtual path their username is looked up in one or more database tables. The table in which the username is found in determines the physical path from which files are served.For internal redirects the files are served to the user without the URL changing, so they never know that they have been redirected. For external redirects the web browser is sent a redirected to the desired URL.The user is redirected to a default location if they are not in any of the database tables. Requirements: · Perl


Apache::RedirectDBI Related Software