Skip to content
Commit 14bf35a4 authored by Loki's avatar Loki Committed by TeckniX
Browse files

Added proper asset exclusion for production

Assets currently are parsed by the controller, when they should simply be ignored and sent to a webserver 404 when in a production environment.

A 404 ErrorDocument is added so that bad assets are sent to a cakePHP 404 page or could be modified to load a 'static' page

This removes bad assets from the Controller logic and prevents overloading the server when improper asset requests are made

Added htaccess rules for production
parent ab51ff61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment