SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

libapache-mod-auth-pipe for Debian

To configure a directory to be readable only by valid users of the system, the following could be added to httpd.conf:

<Location /path/to/directory>

      AuthName whateveryoulike
      AuthPipe on
      AuthType Basic
      require valid-user

</Location>

The "AuthPipe on" directive tells the authentication handler to take effect. If AuthPipe is set to off, mod_auth_pipe will decline to authenticate the user.

mod_auth_pipe also supports the "require user" and "require group" directives. "require user" restricts access to the named (space separated) users. "require group" restricts access to users who are a member of the listed groups.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.