D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Error 404

 

On Sun, 25 Apr 2010, Neil Winchurst wrote:

Where I am going wrong please? I have a new folder on my website which
contains just some photos. When I try to access it I am told I do not
have permission to do this. Is it not possible to open a folder on a
website which just contains pictures or just text files. That is, does
not have an index file?

Your webhost is confgured to disallow directory browsing. This is common.

If you have access to the config files (and root on the server) then you can enable it.

If not, then you may be able to do it via a .htaccess file. Try this

  Options Indexes

in a file called .htaccess (note leading dot) in the same directory.

This still may not work if the host doesn't allow you to override the
configuration though (but should do).

Gordon


--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html