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/30 15:11:22 UTC

[users@httpd] SUMMARY: RE: [users@httpd] Directory Indexes and Deleting Files

Thanks to Owen and James for responding to this.

Both suggested looking for third party software: whether it be another mod 
or a CGI program.  Last night I just bit the bullet and made a small shell 
script to do a directory listing, grep out certain "system files", and awk 
it to print a hyperlink to another CGI program with the file name in the 
querystring.

Initially I WAS hoping for an added flag or directive that would do this, 
but turns out, as Owen said, there's nothing along those lines.  That's 
okay though.  If anyone is interested feel free to e-mail me me: 
wishneum@stiusa.com and I'll be glad to show you some stuff.

Thanks again to everyone!
Mark


 From James:

One possibility would be to use something like CGI.pm.
http://stein.cshl.org/WWW/software/CGI/


 From Owen:


>In the out-of-the-box apache, all you can do with the directory index is
>add HTML to the head of the page (HeaderName). There are a couple of
>things you can try:
>
>- look for a third-party module which already does what you want
>(http://modules.apache.org/).
>- hack the source code to make indexes appear as you want (look in
>src/modules/standard/mod_autoindex.c - probably...)
>- forget about modules and write the whole thing in a server-sided
>application (CGI, ASP, cocoon etc.)
>
>Rgds,
>Owen Boyle
>Disclaimer: Any disclaimer attached to this message may be ignored.
>
>
>
> >
> >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
> >
> >
>
>This message is for the named person's use only. It may contain
>confidential, proprietary or legally privileged information. No
>confidentiality or privilege is waived or lost by any mistransmission.
>If you receive this message in error, please notify the sender urgently
>and then immediately delete the message and any copies of it from your
>system. Please also immediately destroy any hardcopies of the message.
>You must not, directly or indirectly, use, disclose, distribute, print,
>or copy any part of this message if you are not the intended recipient.
>The sender's company reserves the right to monitor all e-mail
>communications through their networks. Any views expressed in this
>message are those of the individual sender, except where the message
>states otherwise and the sender is authorised to state them to be the
>views of the sender's company.
>
>
>
>---------------------------------------------------------------------
>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

---------------------------------------------------------------------------
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
---------------------------------------------------------------------------