Computer Hope

Internet & Networking => Web design => Topic started by: Geek-9pm on September 14, 2017, 09:07:35 PM

Title: What aboutputting .htaccess in my image dirctory?
Post by: Geek-9pm 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?
Title: Re: What aboutputting .htaccess in my image dirctory?
Post by: BC_Programmer on September 14, 2017, 09:29:52 PM
In an .htaccess file in that directory:
Code: [Select]
Options +Indexes
Title: Re: What aboutputting .htaccess in my image dirctory?
Post by: Geek-9pm on September 15, 2017, 03:40:32 AM
Thank you.I w ill try that right now.  ;)

Update: It Works!! amazing!  :||