- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: RE HTML and a drectory listing
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2007 03:34 AM
тАО10-03-2007 03:34 AM
RE HTML and a drectory listing
I have a whole lot of pdf files that are created and then placed in a directory on my web server.
My manager can then view these files via a web interface. How can I disable the Tomcat web server from displaying the header and footer that appears when listing the files.
The header displays Directory Listing For /REPORTS/ - Up To /
then my files appear correctly.....
...and then it also displays a tail which says
Apache Tomcat/4.1.29.
Surely there must be a conf file in tomcat that I can allow the files to be listed, but not display the header and footer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2007 11:34 PM
тАО11-18-2007 11:34 PM
Re: RE HTML and a drectory listing
You can run a procedure at regular intervals, that creates an INDEX.HTML file on that directory, that shows just the names of the files, and a hyperlink to them. If you have multiple directories, you can create such a file as well. The advantage is you can list multiple versions of a file, somthing usually lost in standard directory listings created by webservers (even WASD has this problem). Another advantage is you can add any feature you want.
I use this to list logfiles to be examined.
If properly set up, the files will show up in the browser using the correct plugin, for PDF files, use the Adobe PDF plugin.
An example of such an index file is attached (if you open the file with a brwser, you will see what it looks like).
A simple DCL procedure can do the job.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 09:16 PM
тАО11-19-2007 09:16 PM
Re: RE HTML and a drectory listing
isn't it possible to modify the directory script of the webserver ? In OSU there one can simply in a config directive specify a different script/CGI program to do the directory listing.
On the other hand, for just a specific case, modify Willems suggestion: instead of a script running at an interval to produce an INDEX.HTML, why not write a CGI or PHP script to produce the file-links on the fly, and use this script URL instead of the directory URL ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 07:05 PM
тАО11-20-2007 07:05 PM
Re: RE HTML and a drectory listing
It's just the example. I use this method for logfiles ;) Of course, it can be done with a similar procedure as CGI-script.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 03:34 AM
тАО11-21-2007 03:34 AM
Re: RE HTML and a drectory listing
Just for information, how such a DCL script would look like:
< http://wwwvms.mppmu.mpg.de/test/dirlist.com >
It works for the OSU web server, try:
http://wwwvms.mppmu.mpg.de/htbin/dirlist/disk$www/www/test/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 04:18 AM
тАО11-21-2007 04:18 AM
Re: RE HTML and a drectory listing
Consider it just a starting point.
WG
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 04:41 AM
тАО11-21-2007 04:41 AM
Re: RE HTML and a drectory listing
WG
OpenVMS Developer & System Manager