Solved

Directory browsing with cgi

Posted on 1997-12-21
2
142 Views
Last Modified: 2013-12-25
I´m looking for a script to run on a NT server that can automatically display the contents of specified directories on a site - the same as on which it´s running. I´d also like the script to have an option to set a wildcard mask for filetypes, so that not all files are shown to the user browsing it. And of course, when a filename is clicked, the script should send the file.
So, a script that works like directorybrowsing, just looking better, with the filteroption, and that can be executed on a NT server.
Thanks in advance
0
Comment
Question by:lownoisE
2 Comments
 
LVL 2

Accepted Solution

by:
tpryor earned 140 total points
ID: 1831728
yes.  PERL is the scripting language you would use.
You can read the contents of any directory and filter out what you dont want. For example print all the .html files as links.

However for security reasons you wouldnt want your cgi scripts in the same dir as your html.

If you need the script written for you email me at webmaster@umeda.com with the specs.
0
 

Author Comment

by:lownoisE
ID: 1831729
Excellent help. That´s just what I needed!

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Do you have experts in the field of AutoIt coding? 25 116
Batch File to find and replace a string 15 104
Google  (Get  Users Email) 2 100
Example unit tests with AngularJS 3 40
Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now