You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark Wishneusky <wi...@stiusa.com> on 2003/04/29 19:55:36 UTC

[users@httpd] Directory Indexes and Deleting Files

Hello,

I've looked through the FAQ's and I haven't found anything about this topic.

I'm developing a collaboration web site where people can upload files, 
create subdirectories, and participate in a forum.  The main idea behind 
the site is a place where people can upload their docs and let everyone in 
the group see them because they're fairly remote.  So I have a standard 
upload.cgi to upload their files and I'm using directory Indexes to show 
the directory dumps.  I can keep going on how I set it up, but the real 
challenge is this:

I'm wondering how I can delete files without having someone having to 
physically type in the name in an input text box and submit that.  I'd like 
to transfer people to another directory listing, like an Indexes list, and 
the URL of the hyperlink be that to a cgi script and the file name be in 
the querytstring.  The cgi would get the querystring, parse it, get the 
file name, and delete it.  I can write the CGI no problem, but I have no 
idea about changing the pointing URL of Indexes.  Something's telling me 
I'd have to rewrite the mod for that, which I'm hoping I won't have to.

Or, I'm wondering if Apache has something built in that will let you select 
a file and delete it.

How about having a checkbox next to each entry in the Indexes list that is 
part of a form to send the file name, etc.  Can you append to the middle of 
an Indexes list like that?

Does anyone have an idea?  I surely don't.  :-)

Just incase you wanted to know...  I'm running 1.3.20 on my RH 7.3.

T.I.A. to everyone who lends.  I'm summarize at the end.
Mark

---------------------------------------------------------------------------
Mark Wishneusky
System and Network Administrator / Support Engineer

Commercial Phone:       508-233-5355
Commercial Fax: 508-233-1291
DSN Phone:              256-5355
Commercial E-mail:      wishneum@stiusa.com
Military E-mail:        Mark.Wishneusky@natick.army.mil
---------------------------------------------------------------------------


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org