TomLous/datatools/master/.htaccess
Options Indexes FollowSymLinks Includes ExecCGI
RewriteEngine On
RewriteBase /
#- url: /favicon.ico
# static_files: assets/images/favicon.ico
# upload: assets/images/favicon.ico
#
RewriteRule ^favicon.ico$ /assets/images/favicon.ico [NC,L,QSA]
#- url: /robots.txt
# static_files: assets/robots.txt
# upload: assets/robots.txt
RewriteRule ^robots.txt$ /assets/robots.txt [NC,L,QSA]
#
#- url: /js
# static_dir: assets/js
RewriteRule ^js/(.*)$ /assets/js/$1 [NC,L,QSA]
#
#- url: /css
# static_dir: assets/css
RewriteRule ^css/(.*)$ /assets/css/$1 [NC,L,QSA]
#- url: /images
# static_dir: assets/images
RewriteRule ^images/(.*)$ /assets/images/$1 [NC,L,QSA]
# env info
#- url: /env
# script: env.php
RewriteRule ^env$ /env.php [NC,L,QSA]
# env info
#- url: /test
# script: test.php
RewriteRule ^test$ /test.php [NC,L,QSA]
# api root
#- url: /v1/.*
# script: v1/index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^v1/(.*) /v1/index.php [NC,L,QSA]
php_value upload_max_filesize 2000M
php_value post_max_size 2000M
php_value max_execution_time 0
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
php_flag log_errors on
php_value error_log /var/lib/openshift/539ef465e0b8cd0f2c000657/app-root/logs/phperrors.log
On Github License
Files