I can't seem to get files to display via a media source. I get a 404 page instead.
I've created a folder in my webroot called
I created a media source with the following settings:
- basePath: board_files_storage
- basePathRelative: No
- baseURL: board_files
- basePathRelative: No
I placed an image in "board_files_storage" called "smash.jpg"
When I point my browser to "
http://www.example.com/board_files/smash.jpg", I get a 404 error.
I thought it might be an .htaccess issue. I believe that mod_rewrite is converting the above URL to "
http://www.example.com/index.php?q=board_files/smash.jpg". When I enter that URL manually, I also get a 404 error.
My understanding is that MODx should be serving the media source file, right?
But when I launch the debugger and trace it through modRequest, it doesn't appear to be running any checks to see if the URL points to a media source.