home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 May / PCW596.iso / wtest / novell / web30day.exe / DISK1 / WEB / CONFIG / ACCESS.CFG next >
Text File  |  1995-11-08  |  2KB  |  55 lines

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