Skip to content

Commit

Permalink
Remove webfolders and merge Apache config files
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-lerch committed Jul 27, 2020
1 parent 41a9a3e commit 332728b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
/download/
/my_images/
/templates_c/
/.webfolders/
/webfolders/

# Development files
/.vs/
/vendor/
*.phar

Expand Down
5 changes: 4 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Prevent access to some application files
<ifModule mod_rewrite.c>
RewriteEngine on

RewriteCond "%{REQUEST_URI}" "^\/.git" [OR]
RewriteCond "%{REQUEST_URI}" "^\/.docker" [OR]
RewriteCond "%{REQUEST_URI}" "^\/config" [OR]
Expand All @@ -16,5 +17,7 @@
RewriteCond "%{REQUEST_URI}" "^\/LICENSE$" [OR]
RewriteCond "%{REQUEST_URI}" "^\/README\.md$" [OR]
RewriteCond "%{REQUEST_URI}" "\.inc$"
RewriteRule .* - [R=404]
RewriteRule .* - [L,R=404]

RewriteRule ^form/([^/]*)(?:/([^/]*))?(?:/([^/]*))?$ subscription/form.php?form=$1&action=$2&key=$3 [L,QSA]
</ifModule>
4 changes: 0 additions & 4 deletions _.htaccess

This file was deleted.

0 comments on commit 332728b

Please sign in to comment.