home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 March / PCWK0397.iso / novell / webserv3 / disk1 / web / samples / config / access.cfg next >
Text File  |  1996-04-16  |  2KB  |  58 lines

  1. # access.cfg
  2. # Please DO NOT use TAB charaters when editing this file.
  3. # This file provides global configuration of the web server's access control
  4. # system.  Localized control can be provided by specially named files in 
  5. # subdirectories of the document tree.  The default name for these local
  6. # control files is 'access.www' and it can be set by the 'AccessFileName'
  7. # in the resource configuration file: 'srm.cfg'.
  8. #
  9. # This file contains a series of directory specifications, which begin
  10. # with a tag <Directory dirname> and end with a tag </Directory>.  The
  11. # Directory tag specifies the path of the directory that is affected by
  12. # the contained access directives.  The path names are relative to the
  13. # server root directory.
  14. #
  15.  
  16. # This Directory tag specifies that the contained directives apply to the
  17. # docs directory under the server root directory.  
  18. <Directory docs>
  19. # The 'Options' and 'IndexOptions' directive provide control over several 
  20. # aspects of directory handling, such as automatic indexing when there is 
  21. # no index file.
  22. Options Indexes
  23. IndexOptions FancyIndexing IconsAreLinks ScanHTMLTitles
  24.  
  25. # The 'AllowOverride' directive specifies which access directives can be
  26. # overridden by local access control files in subdirectories
  27. AllowOverride All
  28.  
  29. # The 'Limit' directive provides the actual access control lists for the
  30. # directory.  It is started by a <Limit method> tag and ends with a </Limit>
  31. # tag.  
  32. <Limit GET>
  33. order allow,deny
  34. allow from all
  35. #allow from 1.2 and 2.4.5 and 130.57.7.72
  36. </Limit>
  37. </Directory>
  38.  
  39. <Directory docs/images>
  40. Options Indexes
  41. IndexOptions FancyIndexing IconsAreLinks ScanHTMLTitles
  42. <Limit GET>
  43. order allow,deny
  44. allow from all
  45. </Limit>
  46. </Directory>
  47.  
  48. <Directory docs/ssi>
  49. Options Includes Indexes
  50. IndexOptions FancyIndexing IconsAreLinks ScanHTMLTitles
  51. <Limit GET>
  52. order allow,deny
  53. allow from all
  54. </Limit>
  55. </Directory>
  56.