I cloned a client's Orchard CMS. The repository that I cloned did not contain the Media folder (this is good). So, a next step was to restore the Media/Default directory from a .zip backup. Now that I've restored that, browsing the to site gives a 404 error for all resources in the Media folder. Why?
HTTP 404: The /Media directory is not serving images
873 Views Asked by Shaun Luttin At
1
There are 1 best solutions below
Related Questions in HTTP-STATUS-CODE-404
- Magento returns 404 page randomly
- Error 404 not going after Wordpress Permalink change to custom structure
- Accessing bundles/jquery externally "Failed to load resource: the server responded with a status of 404 (Not Found)"
- PHP won't appear in my local host
- How to setup a general 301 redirect that will ignore the ending url string
- Debugging a 404 error for an existing page
- Maven Tomcat plugin - 404 WebServlet not found
- In Angular project reference to php script give 404 (Not Found) locally, but works on live site
- PHP include Page.php, if Page=404 { PHP include API { WRITE API as Page.php (Storing APIs on Servers)
- Laravel 5.0 custom 404 does not use middleware
- Getting HTTP Status 404 - Spring mvc
- Returning Error JSON from RESTful Spring API on 404 (Ambiguous @ExceptionHandler)
- How to continue ajax remaining requests if file not found?
- Convert 404/500 or any other error code to 301
- Turn 404 url into search
Related Questions in ORCHARDCMS
- image is not displayed when working with alternates and medialibraryfield for blog post in orchard cms
- System.Web.HttpcontextBase problems in Orchard 1.8 (possibly due to Visual studio 2015)
- Orchard CMS - migrations - UTF8 characters
- Orchard widgets triggered more than once
- Retrieving latest version of content item with related records immediately after creating it
- Loading custom.css after PJS.Bootstrap default css in Orchard
- How to setup tinymce 4 spellcheck for asp.net mvc?
- How to add JS and CSS to all content parts in an Orchard module
- HTML Widget on many pages - Orchard CMS
- How to correctly leverage Content, Widgets and Layers in Orchard
- Is it possible to add content to Orchard 1.8 directly in the frontend to logged users?
- Orchard CKEditor not rendering on custom text areas
- Caching module / Caching in Orchard CMS
- Orchard's Lost Password returning 302 and redirecting
- Calling a SQL query in Orchard service
Related Questions in ORCHARDCMS-1.8
- image is not displayed when working with alternates and medialibraryfield for blog post in orchard cms
- System.Web.HttpcontextBase problems in Orchard 1.8 (possibly due to Visual studio 2015)
- Loading custom.css after PJS.Bootstrap default css in Orchard
- HTML Widget on many pages - Orchard CMS
- Is it possible to add content to Orchard 1.8 directly in the frontend to logged users?
- Orchard's Lost Password returning 302 and redirecting
- Orchard CMS: How to add version to theme scripts and styles
- How do you get just the image URL in Orchard CMS?
- Set PageSize in a Taxonomy view
- The TinyMCE editor is not showing when we edit/create body content
- Sorting Custom Content Types in Orchard
- Orchard 1.8 Package Installation Failure
- Calling Script.Require in Shape view returned from IResultFilter not working in Orchard CMS?
- Error: ValueFactory attempted to access the Value property of this instance
- Orchard CMS front-end all possible content filtering by user permissions
Related Questions in STATIC-CONTENT
- nginx - serve content from inside a zip (jar) archive
- Is there any advantage in storing static html files in a server variable on a node-express server?
- Wildfly Swarm JAXRSArchive add webapp directory
- Why are Content, Scripts served as static and other directories not?
- Serving static files through MongoDB's GridFS
- How to serve static content from a controller in Rails?
- Does application size matters when storing static content?
- where put images files in big multimodules web app
- Best lightweight web server (only static content) for Windows
- Fetch Static files from Server in Django
- How to store frequently changing static files in Cloudfront?
- How to host static content from Jboss EAP 7.1 slave in HA cluster?
- IIS stopped serving static content over a certain (small) size
- Changing static files directory in MVC3 causes 404
- HTTP 404: The /Media directory is not serving images
Related Questions in IIS-HANDLERS
- HTTP 404: The /Media directory is not serving images
- Django - IIS deployment - scriptProcessor could not be found
- How might I import IIS handler mappings from another IIS instance on a different machine?
- IIS - [Exception: Debugger detected - this software cannot run with Debugger.]
- C# MVC website wrapped for private beta testing
- IIS throw 404 on directory browse instead of 403 but not for files within
- IIS Handlers exclude a Directory when processing htm requests
- ExtensionlessUrlHandler causes 404 Not Found with default document on IIS
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Quick Fix
The
/Mediafolder is missing its requiredWeb.configfile. Add it.Media/Web.config
Details
Out-of-the-box, Orchard's
Mediafolder contains aWeb.configfile. Since source control excluded theMediafolder it also did not have itsWeb.config. In IIS 7+ Integrated Mode, the following config is required for serving static files, because the rootOrchard.Web/Web.configfile<clear/>s all handlers.