Fixes retrieving resource trough apache