This question is slightly off-topic, but I'm using Perl so I hope it's all right. I need to program a directory listing/file upload web application:
1. the user should be able to browse to a URL, and that
URL should allow the user to see a directory listing
of some predefined document root. Starting at that
document root, the user should be able to browse/
navigate up and down the directory structure, and
2. the user should be able to upload a file to a directory
in that directory structure.
3. the user should be able to delete files and directories
from that directory structure.
I'm specifically wondering about "1." above - Apache already has a "Directory Index" you can use if you specify "Options Indexes" in the httpd.conf file for a particular directory under the document root. I'm wondering if it's possible to *use* that Directory Index provided by Apache, and build on it - but I don't know how to build on it, since it seems that the only choice you have is to either "use it" or NOT use it - I don't see an in-between that would allow you to start with it and build on it. The alternative is for me to build from scratch my own Directory Index that allows navigation up and down a directory structure, with the additional features 2 and 3 above.
Anyone have any thoughts on this?
TIA. Hardy Merrill
1. the user should be able to browse to a URL, and that
URL should allow the user to see a directory listing
of some predefined document root. Starting at that
document root, the user should be able to browse/
navigate up and down the directory structure, and
2. the user should be able to upload a file to a directory
in that directory structure.
3. the user should be able to delete files and directories
from that directory structure.
I'm specifically wondering about "1." above - Apache already has a "Directory Index" you can use if you specify "Options Indexes" in the httpd.conf file for a particular directory under the document root. I'm wondering if it's possible to *use* that Directory Index provided by Apache, and build on it - but I don't know how to build on it, since it seems that the only choice you have is to either "use it" or NOT use it - I don't see an in-between that would allow you to start with it and build on it. The alternative is for me to build from scratch my own Directory Index that allows navigation up and down a directory structure, with the additional features 2 and 3 above.
Anyone have any thoughts on this?
TIA. Hardy Merrill