This project is not covered by Drupal’s security advisory policy.

Synopsis

This module helps to prevent the "File not Found"-Error for developing purpose.

It mostly appears when setting up a local instance of a live page via Git. The files within sites/default/files are ingored, so you wont have images on your local setup. Instead of downloading them and fillup your local disk quota you can use this module.

This module gets the files from the Remote-Server for you without downloading. Therefore you just need to configure your Live-URL in the Configuration Form.

Dependencies

to make the module work, you need to add the below block to your sites/default/files/.htaccess.

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /filesnotfoundredirect?file=%{REQUEST_FILENAME} [L,R=301]

Restrictions

Currently working just for .jpg, .png, .pdf, .docx, .doc, .odt and .ods files.

Project information

Releases