Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: What aboutputting .htaccess in my image dirctory?  (Read 6254 times)

0 Members and 1 Guest are viewing this topic.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
What aboutputting .htaccess in my image dirctory?
« on: September 14, 2017, 09:07:35 PM »
Question about .htaccess
Some of you might know the quick answer.
Long story made short- I had to get another web host.  Bi the provider does not let the public see a directory. There  has to be an index.htm file or equivalent in php or other thing. No more directory without an index.

But I like to look in my  image directory and see what  I put is there
Example: Say my domain is www.big-bird.con (It is not, this is just example.) To see a list of my images I could just type.

http://bitg-bird.con/images     {not a link}

And I would see an index of the files in that directory. Next, I could click on a name to see the image.

But now I can not do that. I think it has something with how they configure the server. What is needed is an exception for the images directory. I think that would be a .htaccess problem.
Am I on the right track? What would I do to make the directory visible?

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: What aboutputting .htaccess in my image dirctory?
« Reply #1 on: September 14, 2017, 09:29:52 PM »
In an .htaccess file in that directory:
Code: [Select]
Options +Indexes
I was trying to dereference Null Pointers before it was cool.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: What aboutputting .htaccess in my image dirctory?
« Reply #2 on: September 15, 2017, 03:40:32 AM »
Thank you.I w ill try that right now.  ;)

Update: It Works!! amazing!  :||