Resolved Issue ID 0000474 (Step 2):

o Add .htaccess files

=>
  * admin
      - .htaccess = deny from all
  * doc
      - no .htaccess
  * galleries
      - .htaccess = Options -Indexes
  * include
      - .htaccess = deny from all
      => move 2 .js in template-common
  * install
      - .htaccess = deny from all
  * language
      - .htaccess = deny from all
  * template
      - .htaccess = Options -Indexes
  * template-common
      - .htaccess = Options -Indexes
  * template-extension
      - .htaccess = Options -Indexes
  * tools
      - no .htaccess


git-svn-id: http://piwigo.org/svn/trunk@1505 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2006-07-26 21:29:21 +00:00
parent e7f8b14269
commit 7ca31726ed
10 changed files with 12 additions and 2 deletions
+1
View File
@@ -0,0 +1 @@
deny from all
+1
View File
@@ -0,0 +1 @@
deny from all
+1
View File
@@ -0,0 +1 @@
deny from all
+1
View File
@@ -0,0 +1 @@
deny from all
+2
View File
@@ -0,0 +1,2 @@
Options -Indexes
+2
View File
@@ -0,0 +1,2 @@
Options -Indexes
+2
View File
@@ -0,0 +1,2 @@
Options -Indexes
+2 -2
View File
@@ -22,7 +22,7 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<meta http-equiv="refresh" content="{REFRESH_TIME};url={U_REFRESH}">
<!-- END refresh -->
<title>{GALLERY_TITLE}:{PAGE_TITLE}</title>
<script type="text/javascript" src="{pwg_root}include/scripts.js"></script>
<script type="text/javascript" src="{pwg_root}template-common/scripts.js"></script>
<!--[if lt IE 7]>
<style>
/* only because we need \{pwg_root\} otherwise use fix-ie5-ie6.css */
@@ -32,7 +32,7 @@ the "text/nonsense" prevents gecko based browsers to load it -->
}
FORM { behavior: url("{pwg_root}template-common/inputfix.htc"); }
</style>
<script type="text/javascript" src="{pwg_root}include/pngfix.js"></script>
<script type="text/javascript" src="{pwg_root}template-common/pngfix.js"></script>
<![endif]-->
</head>