Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8173561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:12:10+00:00 2026-06-06T22:12:10+00:00

on my Magento site (not the real url ;) ), I have http://magento.local.com/media/ returning

  • 0

on my Magento site (not the real url 😉 ), I have http://magento.local.com/media/ returning as a 403 Forbidden.

This seems to be standard for all Magento installs, but I want to change this, and not have a 403 returned for requests to /media/.

How can I do this?

EDIT: (adding further information and reason for it)

I want /media/ to not be a 403, so that I can redirect requests to /media/ to /media/index.html.

I thought this redirect would be easy once the 403 was resolved, but unfortunately it is not. e.g.

RewriteRule ^$ /index.html [L,NC,R=301]

does not redirect /media/ at all, and the usual “Index of /” is displayed.

SOLUTION: add DirectoryIndex to the htaccess file

Thanks
Paul

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:12:13+00:00Added an answer on June 6, 2026 at 10:12 pm

    Put .htaccess to your media/ dir with following contents:

    Options All +Indexes
    DirectoryIndex index.html
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have magento installed in a subdirectory. www.domain.com/subdir/magento This site worked perfectly at one
hai I have a magento web site. In this the search function compare with
I have installed the Nivo Slider (http://nivo.dev7studios.com/) that uses jQuery on my site which
Magento site is not updating the price according to the custom option added. I
I'm setting up a Magento site and have some design requirements that we can't
I'm implementing a new template for a Magento site. I have issues with categories
I have to make some mods to an existing (and working) magento site. So
my site www.theprinterdepo.com its a magento oscommerce site As you know its open source,
I have a Magento 1.6.2 site hosted on 1&1. Because of certain installed extensions
I am developing my first Magento site for a client who does not want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.