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 4d78157 commit 98c431f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 7 deletions.
6 changes: 6 additions & 0 deletions config/.htaccess
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
6 changes: 6 additions & 0 deletions lib/.htaccess
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
15 changes: 8 additions & 7 deletions package.xml
Expand Up @@ -21,8 +21,7 @@
<email>jan@horde.org</email>
<active>yes</active>
</lead>
<date>2012-07-19</date>
<time>22:36:20</time>
<date>2016-01-13</date>
<version>
<release>1.0.0alpha1</release>
<api>1.0.0alpha1</api>
Expand All @@ -40,6 +39,7 @@
<contents>
<dir baseinstalldir="/" name="/">
<dir name="config">
<file name=".htaccess" role="horde" />
<file name="conf.xml" role="horde" />
<file name="prefs.php" role="horde" />
</dir> <!-- /config -->
Expand Down Expand Up @@ -70,12 +70,12 @@
<file name="LibGeshi.php" role="horde" />
<file name="TextHighlighter.php" role="horde" />
</dir> <!-- /lib/Highlighter -->
<file name=".htaccess" role="horde" />
<file name="Api.php" role="horde" />
<file name="Application.php" role="horde" />
<file name="Driver.php" role="horde" />
<file name="Exception.php" role="horde" />
<file name="Highlighter.php" role="horde" />
<file name="Pastie.php" role="horde" />
<file name="Test.php" role="horde" />
</dir> <!-- /lib -->
<dir name="migration">
Expand All @@ -87,7 +87,7 @@
</dir> <!-- /scripts/sql -->
</dir> <!-- /scripts -->
<dir name="templates">
<file name="menu.inc" role="horde" />
<file name=".htaccess" role="horde" />
<file name="paste.inc" role="horde" />
<file name="recent.inc" role="horde" />
<file name="view.inc" role="horde" />
Expand Down Expand Up @@ -126,6 +126,7 @@
<install as="pastie/LICENSE" name="LICENSE" />
<install as="pastie/paste.php" name="paste.php" />
<install as="pastie/view.php" name="view.php" />
<install as="pastie/config/.htaccess" name="config/.htaccess" />
<install as="pastie/config/conf.xml" name="config/conf.xml" />
<install as="pastie/config/prefs.php" name="config/prefs.php" />
<install as="CHANGES" name="docs/CHANGES" />
Expand All @@ -134,12 +135,12 @@
<install as="lighttpd-pastie.conf" name="docs/lighttpd-pastie.conf" />
<install as="RELEASE_NOTES" name="docs/RELEASE_NOTES" />
<install as="TODO" name="docs/TODO" />
<install as="pastie/lib/.htaccess" name="lib/.htaccess" />
<install as="pastie/lib/Api.php" name="lib/Api.php" />
<install as="pastie/lib/Application.php" name="lib/Application.php" />
<install as="pastie/lib/Driver.php" name="lib/Driver.php" />
<install as="pastie/lib/Exception.php" name="lib/Exception.php" />
<install as="pastie/lib/Highlighter.php" name="lib/Highlighter.php" />
<install as="pastie/lib/Pastie.php" name="lib/Pastie.php" />
<install as="pastie/lib/Test.php" name="lib/Test.php" />
<install as="pastie/lib/Driver/Rdo.php" name="lib/Driver/Rdo.php" />
<install as="pastie/lib/Driver/Sql.php" name="lib/Driver/Sql.php" />
Expand All @@ -151,7 +152,7 @@
<install as="pastie/lib/Highlighter/TextHighlighter.php" name="lib/Highlighter/TextHighlighter.php" />
<install as="pastie/migration/1_pastie_base_tables.php" name="migration/1_pastie_base_tables.php" />
<install as="pastie/scripts/sql/pastie.sql" name="scripts/sql/pastie.sql" />
<install as="pastie/templates/menu.inc" name="templates/menu.inc" />
<install as="pastie/templates/.htaccess" name="templates/.htaccess" />
<install as="pastie/templates/paste.inc" name="templates/paste.inc" />
<install as="pastie/templates/recent.inc" name="templates/recent.inc" />
<install as="pastie/templates/view.inc" name="templates/view.inc" />
Expand All @@ -169,7 +170,7 @@
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2012-07-19</date>
<date>2016-01-13</date>
<license uri="http://www.horde.org/licenses/bsd">BSD-2-Clause</license>
<notes>
* [rla] Minimal conversion for Horde 5.
Expand Down
6 changes: 6 additions & 0 deletions templates/.htaccess
@@ -0,0 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>

0 comments on commit 98c431f

Please sign in to comment.