The way I think of it, Directory applies to real paths in the filesystem and Location applies to virtual paths as they appear in URLs (the page Carl links to calls these "webspace").
Milt Epstein Programmer in Computational Genomics Institute for Genomic Biology (IGB) University of Illinois at Urbana-Champaign (UIUC) [email protected] On Tue, 15 Sep 2015, Waldbieser, Carl wrote: > Chris, > > It is really an Apache setting [1]. > > `Directory` indicates the enclosed directives apply to the underlying file > system. > `Location` indicates the enclosed directives apply to resources located > outside of the file system. > > > Thanks, > Carl Waldbieser > ITS Systems Programmer > Lafayette College > > [1] http://httpd.apache.org/docs/2.2/sections.html > > ----- Original Message ----- > From: "Chris Cheltenham" <[email protected]> > To: "cas-user" <[email protected]> > Sent: Tuesday, September 15, 2015 10:50:02 AM > Subject: [cas-user] mod_auth_cas > > For those using mod_auth_cas RH apache 2.2.3-85 and CAS 3.5.2 > > I see I can use directory or location in the mod_auth_cas.conf file. > > (e.g.) > Protect a "Location" or "Directory" block in your Apache > > > configuration: > > > > <Location /secured> > > > Authtype CAS > > > require valid-user > > > </Location> > > > > What is the difference between using Location and Directory. > I would assume Location if for an alias and directory protects the entire > directory. > However, I do not like to assume and I do not see anything in the > documentation distinguishing the two. > > > > > Thank You; > > Chris Cheltenham > [email protected]<mailto:[email protected]> > SwainTechs > 10 Walnut Grove Rd > Suite 110 > Horsham, PA > 19044 > > 888-905-5767 / X407 > > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
