[ PHPXref.com ] [ Generated: Sun Jul 20 20:38:18 2008 ] [ Tikiwiki 1.9.2 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/doc/ -> 99_tiki-apache.conf (source)

   1  #Tiki configuration to secure tiki with apache
   2  #include this file from your main httpd configuration file
   3  
   4  # NOTE: Remember to change the DirectoryMatch */tiki path to 
   5  # the location of your TikiWiki installation
   6  # a common option is */public_html
   7  
   8  <DirectoryMatch */tiki>
   9      options -ExecCGI
  10      <FilesMatch "\.(bak|inc|lib|sh|tpl|sql|pl|cgi)$">
  11          order deny,allow
  12          deny from all
  13      </FilesMatch>
  14  </DirectoryMatch>
  15  <DirectoryMatch */tiki/lang >
  16      <FilesMatch "*">
  17          order deny,allow
  18          deny from all
  19      </FilesMatch>
  20  </DirectoryMatch>
  21  <DirectoryMatch */tiki/bin >
  22      <FilesMatch "*">
  23          order deny,allow
  24          deny from all
  25      </FilesMatch>
  26  </DirectoryMatch>
  27  <DirectoryMatch */tiki/db >
  28      <FilesMatch "*">
  29          order deny,allow
  30          deny from all
  31      </FilesMatch>
  32  </DirectoryMatch>
  33  <DirectoryMatch */tiki/images >
  34  <FilesMatch "\.ph(p(3|4)?|tml)$">
  35          order deny,allow
  36          deny from all
  37  </FilesMatch>
  38  </DirectoryMatch>
  39  <DirectoryMatch */tiki/img >
  40  <FilesMatch "\.ph(p(3|4)?|tml)$">
  41          order deny,allow
  42          deny from all
  43  </FilesMatch>
  44  </DirectoryMatch>
  45  <DirectoryMatch */tiki/lib >
  46  <FilesMatch "\.ph(p(3|4)?|tml)$">
  47          order deny,allow
  48          deny from all
  49  </FilesMatch>
  50  </DirectoryMatch>
  51  <DirectoryMatch */tiki/modules >
  52      <FilesMatch "*">
  53          order deny,allow
  54          deny from all
  55      </FilesMatch>
  56  </DirectoryMatch>
  57  <DirectoryMatch */tiki/temp >
  58      <FilesMatch "*">
  59          order deny,allow
  60          deny from all
  61      </FilesMatch>
  62  </DirectoryMatch>
  63  <DirectoryMatch */tiki/templates >
  64      <FilesMatch "*">
  65          order deny,allow
  66          deny from all
  67      </FilesMatch>
  68  </DirectoryMatch>
  69  <DirectoryMatch */tiki/templates_c >
  70      <FilesMatch "*">
  71          order deny,allow
  72          deny from all
  73      </FilesMatch>
  74  </DirectoryMatch>
  75  <DirectoryMatch */tiki/tests >
  76      <FilesMatch "*">
  77          order deny,allow
  78          deny from all
  79      </FilesMatch>
  80  </DirectoryMatch>


[ Powered by PHPXref - Served by Debian GNU/Linux ]