Maintenance

  • Home
  • Log in
  • « Dual boot iMac update
  • Setting a site to use PHP5 instead of 4 on web.uvic.ca »

Lettuce Apache upgrade necessitates .htaccess file update

Posted by gregster on 02 Mar 2008 in Servers, Documentation

There was an update to the apache server (httpd) on lettuce (March 1) that required editing of the existing .htaccess file for Francotoile. Apache 2.2 has been compiled with LDAP, meaning .htaccess can be a bit less verbose. This info will be needed by anyone implementing a similar authentication mechanism on Lettuce using .htaccess. Others may need to update their existing authentication.

This is the new authentication scheme:

AuthType Basic
AuthName "Restricted to username or NetLinkID"
AuthBasicProvider ldap file
AuthUserFile /path/to/.htpasswd
Require valid-user

Note the removal of an explicitly declared username. When Apache reads the file it heads off to /path/to/.htpasswd and reads it to find out the username to expect. Otherwise it expects to find you in LDAP.

This entry was posted by Greg and filed under Servers, Documentation.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2025 by admin • Help • Open-Source CMS