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
875 views Asked by Shaun Luttin At
1
There are 1 answers
Related Questions in HTTP-STATUS-CODE-404
- Laravel API DELETE Requests of Resource Controller and Getting 404 Not Found Error (for Second time Delete)
- Next js app throwing 404 error when deployed to vercel, even though it works fine on local
- Tailwind CSS background image does not work on github pages
- npm ERR! code E404 Not Found - GET https://registry.npmjs.org/inquirer 'inquirer@*' is not in this registry.A complete log of this run canbefoundin:
- Problem with changing default NGINX 404 error page
- What can I troubleshoot next to figure out why I get 404 messages?
- Basic Spring Boot application always giving 404/Whitelabel error
- JAX-RS webapp deployed to Tomcat returns HTTP 404 error while it works fine in Eclipse
- it ok return 200 with notfound function and suspese?
- Failed to load resource: the server responded with a status of 404 (Not Found) ProductList.js:14 Error fetching products: AxiosError fe
- Page_404_error (production error) when I trigger URL endpoint from postman to production server
- Page not found when following wagtail tutorial adding tags
- Calling a url in chrome browser or in postman working fine but using axios it is giving 404 error
- I need SSO and Maven to work together in a Tomcat 9 Eclipse project, I have check the usual suspects but I think I missed something
- I have a POST 404(Not Found) error, I can't find a way to fix it
Related Questions in ORCHARDCMS
- Blazor Component Inside Orchard Core Module
- How to show or hide menu items based on the roles in Orchard Core 1.6.0?
- Updating an Orchard Core tenant's hostname programmatically
- Creating/Structuring content types in Orchard Core (for themeing)
- NHibernate OrchardCMS and Long Id: object references an unsaved transient instance
- OrchardCore 1.7.2 workflow with Angular
- Orchard Core - Override UserMenuItems-Profile
- How to change home page route in Orchard Core
- Create Content item in Orchard CMS programmatically with fields
- How to return total items of a Lucene query in Orchard
- Orchard Core Workflow: Problem accessing workflow property value in a workflow "Script Task" or "If/Else Task"
- How to query for menu items that can be shown/hidden with Content Permissions in Orchard Core?
- Select n items of a ContentType in OrchardCore randomly using lucene
- How to fix error message when hosting a website on IIS with Orchard CMS?
- Why are my custom modules not displaying in a Blog Post in Orchard Core CMS?
Related Questions in ORCHARDCMS-1.8
- How to add a field to a Content-Type in OrchardCoreCMS?
- CMS Orchard's action low performance
- How to get the order of each List item in Orchard Cms?
- Enabling Email settings in Server
- Create New Page in Orchard Module
- Media Picker is not working on orchard
- Automatically Migrate OrchardCMS BodyPart to LayoutPart
- Orchard Permission To One Particular Blog
- Table set homepage orchard
- Override Orchard Setup view in Orchard CMS
- Disabled Orchard Module (feature) / Entire site is broken
- Orchard CMS - Returning HTML in API call
- Orchard CMS Admin Error
- Orchard CMS Duplicate Content Error
- Orchard CMS failing to discover resources defined in a theme after Publish from Visual Studio
Related Questions in STATIC-CONTENT
- What qualifies as 'static content' in Next.js (Pages Router)?
- js and css are not applied to html as static files of nestjs backend solution on nginx server (localhost works correctly)
- JustPy QuasarPage - where do I put the favicon file in my project tree?
- Serve Static Content with Spring Boot 3
- Multiple retrieve-marker inside fo:static-content
- How can I run nginx on project files on windows?
- Is middleware necessary when only serving static files?
- Serve static content with webflux and multiple wildcards
- How to handle dynamic images with Next
- Ts.ED simple static server surprise 404 failure
- Best approach to serve user protected files - Node.js, Express server
- Magento 2 change static content folder
- For static domain files, cookies are still attached. How to solve? ASP.NET , IIS 10
- How to disable access to certain static files from /resources/META-INF/resources in production using Quarkus?
- Springboot statc content : None of the document roots [src/main/webapp, public, static] point to a directory
Related Questions in IIS-HANDLERS
- 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.]
- ExtensionlessUrlHandler causes 404 Not Found with default document on IIS
- C# MVC website wrapped for private beta testing
- IIS Handlers exclude a Directory when processing htm requests
- HTTP 404: The /Media directory is not serving images
- IIS throw 404 on directory browse instead of 403 but not for files within
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?
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)
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.