Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Update .gitignore and .htaccess files
Browse files Browse the repository at this point in the history
  • Loading branch information
AgelxNash committed Feb 21, 2018
1 parent 923a1c6 commit 932ceff
Show file tree
Hide file tree
Showing 14 changed files with 101 additions and 9 deletions.
68 changes: 63 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,74 @@
# ignore any files beginning with .
#\.*
# assets
/assets/.thumbs/*
!/assets/.thumbs/index.html
!/assets/.thumbs/.htaccess

/assets/backup/*
!/assets/backup/index.html
!/assets/backup/.htaccess

# and any files in the cache directory
/assets/cache/*
!/assets/cache/.htaccess
!/assets/cache/index.html
!/assets/cache/siteManager.php
!/assets/cache/sitePublishing.idx.php
!/assets/cache/images/index.html
!/assets/cache/rss/index.html
!/assets/cache/updater/index.html

/assets/docs/*
!/assets/docs/.htaccess
!/assets/docs/changelog.txt
!/assets/docs/index.html
!/assets/docs/license.txt

/assets/export/*
!/assets/export/index.html
!/assets/export/.htaccess

/assets/files/*
!/assets/files/index.html
!/assets/files/.htaccess

/assets/images/*
!/assets/images/index.html
!/assets/images/evo-logo.png
!/assets/images/.htaccess

# and the config file
/assets/import/*
!/assets/import/index.html
!/assets/import/.htaccess

/assets/site/*
!/assets/site/index.html
!/assets/site/.htaccess

# Manager
/manager/includes/config.inc.php

# Windows and Mac
# Composer
/composer.phar
/vendor/*
!/vendor/.htaccess
!/vendor/index.html

# IDE Helper
modx_evolution.IDEhelper.php
_ide_helper.php
.phpstorm.meta.php

#node.JS
/node_modules
npm-debug.log

# System
ftpsync.settings
Thumbs.db
Desktop.ini
.DS_Store
.idea
.vagrant
.rocketeer

# except do not ignore .gitignore
!.gitignore
5 changes: 5 additions & 0 deletions assets/.thumbs/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
IndexIgnore */*
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions assets/cache/updater/ht.access

This file was deleted.

6 changes: 5 additions & 1 deletion assets/docs/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ IndexIgnore */*
<Files "changelog.txt">
Order Allow,Deny
Deny from all
</Files>
</Files>
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
5 changes: 5 additions & 0 deletions assets/export/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
IndexIgnore */*
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
5 changes: 5 additions & 0 deletions assets/files/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
IndexIgnore */*
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
5 changes: 5 additions & 0 deletions assets/images/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
IndexIgnore */*
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
5 changes: 5 additions & 0 deletions assets/import/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
IndexIgnore */*
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
5 changes: 5 additions & 0 deletions assets/site/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
IndexIgnore */*
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
Empty file removed vendor/.gitignore
Empty file.
2 changes: 1 addition & 1 deletion assets/cache/images/ht.access → vendor/.htaccess
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
order deny,allow
allow from all
allow from all
2 changes: 2 additions & 0 deletions vendor/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h2>Unauthorized access</h2>
You're not allowed to access file folder

0 comments on commit 932ceff

Please sign in to comment.