By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,632 Members | 1,425 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,632 IT Pros & Developers. It's quick & easy.

Visible Directories and Contents on Website

P: n/a
I would like the directories of my Website and their contents containing
images to be visible just like it is when you navigate on your local machine
using Explorer. That way anyone can browse the directory, view a list of the
direcory's subdirectories and click on the images they contain to view them;
and if given access to to certain site directories will be able to upload
their own images.

This would be very useful since it would require a minimum of maintenance
because there is no HTML updating to be performed when new images are added.
Is there an easy way to do this?

Thanks,

Edwin Turner
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Edwin M. Turner wrote:
I would like the directories of my Website and their contents containing
images to be visible just like it is when you navigate on your local machine
using Explorer. That way anyone can browse the directory, view a list of the
direcory's subdirectories and click on the images they contain to view them;
and if given access to to certain site directories will be able to upload
their own images.

This would be very useful since it would require a minimum of maintenance
because there is no HTML updating to be performed when new images are added.
Is there an easy way to do this?

Thanks,

Edwin Turner


The easiest way to get this kind of functionality is to allow directory
indexing in a web server such as Apache. This is done by using the
option Indexes for the directory being served. This will not allow
people to upload their own images though. To do this you could use a
great variety of things ranging from WebDAV to a full fledge CMS
(Content Management System) such as Zope. There are also scripts to
automatically create thumbnail galleries from directories; these could
be activated when an image was uploaded.
http://httpd.apache.org/
http://www.webdav.org/
http://www.zope.org/

Good luck!

Regards,
Technoumena
Jul 20 '05 #2

P: n/a
in post: <news:c4**********@news2.netvision.net.il>
"Edwin M. Turner" <ed****@webmadman.com> said:
I would like the directories of my Website and their contents containing
images to be visible just like it is when you navigate on your local machine


(assumes apache) stick the below in a .htaccess file[1] for the
directory you want the directives to apply to. child directories inherit
the directives so if you stick it in your root the directives will apply
to all of your site.
Options +Indexes
[1] a .htaccess file is a plain text file named as shown. if you create
the file with notepad save the file with quotes to prevent notepad from
adding a .txt extension i.e: ".htaccess"
--
b r u c i e
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.