Ignore files from web

pull/2487/head
jmontoyaa 7 years ago
parent f5e6edebd3
commit 6038583004
  1. 3
      .gitattributes
  2. 8
      .htaccess

3
.gitattributes vendored

@ -2,10 +2,13 @@
.gitattributes export-ignore .gitattributes export-ignore
.gitignore export-ignore .gitignore export-ignore
.codeclimate.yml export-ignore .codeclimate.yml export-ignore
.flintci.yml export-ignore
.scrutinizer.yml export-ignore .scrutinizer.yml export-ignore
.styleci.yml export-ignore .styleci.yml export-ignore
.travis.yml export-ignore .travis.yml export-ignore
.yamllint_config export-ignore .yamllint_config export-ignore
.php_cs.dist export-ignore
.php_cs export-ignore
codesize.xml export-ignore codesize.xml export-ignore
phpcs.xml export-ignore phpcs.xml export-ignore

@ -1,11 +1,5 @@
# Check that your Apache virtualhost have this settings: # Check that your Apache virtualhost have this settings:
#<Directory "/var/www/chamilo-classic">
# AllowOverride All
# Order allow,deny
# Allow from all
#</Directory>
RewriteEngine on RewriteEngine on
# http://my.chamilo.net/certificates/?id=123 to http://my.chamilo.net/certificates/index.php?id=123 # http://my.chamilo.net/certificates/?id=123 to http://my.chamilo.net/certificates/index.php?id=123
@ -60,7 +54,7 @@ RewriteRule ^service/(\d{1,})$ plugin/buycourses/src/service_information.php?ser
RewriteRule ^([^/.]+)/?$ user.php?$1 [L] RewriteRule ^([^/.]+)/?$ user.php?$1 [L]
# Deny access # Deny access
RewriteRule ^(tests|.git) - [F,L,NC] RewriteRule ^(tests|.git|.env|.env.dist|config) - [F,L,NC]
# Add caching of woff font files to avoid loading 2*15KB each time with Chamilo # Add caching of woff font files to avoid loading 2*15KB each time with Chamilo
# default OpenSans font # default OpenSans font

Loading…
Cancel
Save