473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Visible Directories and Contents on Website

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
2 1605
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John | last post by:
Hi everyone ! This is a first time I post a message here. If I post my message in a wrong group. Please ignore it. I am trying to build a website which allows users (can be thousands of...
0
by: Jean-Marc Molina | last post by:
Hello, For all my scripts needs I trust Hotscripts.com <http://www.hotscripts.com>. Could be their ad :). However that website is not syndicated and it's hard to track new scripts, tutorials......
5
by: LarryM | last post by:
Hi, This is maybe not a pure ASP question, but has some relation: Please help me throw some light on this: Which directories and files are visible and readable for a (hacking) user at a...
2
by: Jeffry van de Vuurst | last post by:
Hi, (sorry for the crosspost, I wasn't sure which was the best place to put this). I was just thinking about something and wondered if any of you has some ideas about this. I'm using the...
1
by: csumner | last post by:
Does anyone know if how i can require authentication for all directories on my website except for the root directory, without having to put a web.config file in each one? (The documentation...
0
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went...
3
by: Bob Peek | last post by:
I would like to share code between several web sites that exist as virtual directories under a single site. It appears that I have to create an app_code directory under each virtual root in order...
9
by: jojobar | last post by:
In vs.net 2005 you can build the entire website, entire solution or a single page. The project I am working on has more than 1000 pages spread over 50-60 directories. We work on one or two of the...
4
by: Chuck P | last post by:
Using vs05 and making an asp.net 2.0 website. We use VSS and have everything organized like this SolutionName Documents Code WebProjectName1 WebServiceProjectName1
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.