Skip to content

Commit

Permalink
Add missing .htaccess files.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 13, 2016
1 parent e2a225b commit e5953e1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions lib/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
8 changes: 6 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<email>chuck@horde.org</email>
<active>no</active>
</lead>
<date>2015-10-21</date>
<date>2016-01-13</date>
<version>
<release>4.2.9</release>
<api>4.0.0</api>
Expand Down Expand Up @@ -96,6 +96,7 @@
<file name="Default.php" role="horde" />
<file name="Kolab.php" role="horde" />
</dir> <!-- /lib/Notepads -->
<file name=".htaccess" role="horde" />
<file name="Api.php" role="horde" />
<file name="Application.php" role="horde" />
<file name="Driver.php" role="horde" />
Expand Down Expand Up @@ -354,6 +355,7 @@
<dir name="view">
<file name="view.html.php" role="horde" />
</dir> <!-- /templates/view -->
<file name=".htaccess" role="horde" />
</dir> <!-- /templates -->
<dir name="test">
<dir name="Mnemo">
Expand Down Expand Up @@ -614,6 +616,7 @@
<install as="mnemo/js/list.js" name="js/list.js" />
<install as="mnemo/js/memo.js" name="js/memo.js" />
<install as="mnemo/js/view.js" name="js/view.js" />
<install as="mnemo/lib/.htaccess" name="lib/.htaccess" />
<install as="mnemo/lib/Api.php" name="lib/Api.php" />
<install as="mnemo/lib/Application.php" name="lib/Application.php" />
<install as="mnemo/lib/Driver.php" name="lib/Driver.php" />
Expand Down Expand Up @@ -729,6 +732,7 @@
<install as="mnemo/notepads/edit.php" name="notepads/edit.php" />
<install as="mnemo/notepads/index.php" name="notepads/index.php" />
<install as="mnemo/notes/index.php" name="notes/index.php" />
<install as="mnemo/templates/.htaccess" name="templates/.htaccess" />
<install as="mnemo/templates/data/export.inc" name="templates/data/export.inc" />
<install as="mnemo/templates/data/import.inc" name="templates/data/import.inc" />
<install as="mnemo/templates/list/empty.html.php" name="templates/list/empty.html.php" />
Expand Down Expand Up @@ -1334,7 +1338,7 @@
<stability>
<release>stable</release>
<api>stable</api></stability>
<date>2015-10-20</date>
<date>2016-01-13</date>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
* [jan] Use access rules compatible with both Apache 2.2 and 2.4.
Expand Down
6 changes: 6 additions & 0 deletions templates/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>

0 comments on commit e5953e1

Please sign in to comment.