473,569 Members | 2,984 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1612
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.netvi sion.net.il>
"Edwin M. Turner" <ed****@webmadm an.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
2517
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 users, supposedly) to upload their files to their designaged directories (max 15 files for each user). A super user (can be more than one) want to search...
0
1262
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... There's a subscription feature but it's a very basic one. You can't really track anything with it. So I wonder if you anyone knows syndicated...
5
1920
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 Website: a) directories in the default website (obviously: YES) b) .asp-files in the default Website c) .asp-files in any diretory outside the default...
2
4218
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 NetAdvantage component suite from Infragistics for my web applications. When installing they create several virtual
1
1120
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 talks about giving different types of users access, but i don't see anything about different directories having separate security settings. I have a...
0
1585
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 haywire and the best solution was to blow away everything on the build server related to this solution (both filebase and virtual directories hanging...
3
3132
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 to share classes accross the code in the different virtual directories. This seems to defeat the purpose of shared code. Is there any way to...
9
1360
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 directories most of the time. When an external dependency is changed (say a function in business layer), we have to compile the entire web project,...
4
2218
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
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7681
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3662
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.