- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Apache Diretory Listing Generation
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
Apache Diretory Listing Generation
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-09-2006 11:26 AM
08-09-2006 11:26 AM
Alias /xxx/ "/SYS$SYSDEVICE/MYDIR/COM/"
Options Indexes MultiViews ExecCGI
AllowOverride None
Order allow,deny
Allow from all
ie if I use a URL of hostname/xxx/ then
Apache will display a directory list of
[MYDIR.COM].
If I change Alias to ScriptAlias, though I
can execute a script by explicitly entering
its name in the URL, when I try to get a dir
listing via the URL of "hostname/xxx/" I get the message "You don't have permission to access /xxx/ on this server."
Why do I need to change to get a dir listing?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-09-2006 03:37 PM
08-09-2006 03:37 PM
Re: Apache Diretory Listing Generation
Re: Apache Diretory Listing Generation
It might depend on the (undisclosed) Apache
version, and I know nothing, but what happens
if you _add_ the ScriptAlias directive
instead of replacing the original Alias with
it?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-09-2006 11:36 PM
08-09-2006 11:36 PM
Solution"Scriptalias" tells Apache that at that location, files are to eb executed. be it .COM or .EXE. So scanning the directory is not possible.
"Alis" is just what it says. Consider it ths Apache (Unix) equivalent to VMS's logical names.
What you could try is to specify both Alais and Scriptalias. But I would suggest to keep scripts in a separate directory, for security reasons. Non-executable files can be set to Readonly, where executables (.COM, .EXE or whatever is specified) must be R+E for Apache$WWW.
Keep in mind that Apache will only show the highest vesrion, except if explicily specify a lower version. (I had teh same probem and got around that by creating a directory listing in HTML format conating hyperlinks to each file.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-10-2006 04:14 AM
08-10-2006 04:14 AM
Re: Apache Diretory Listing Generation
Re: Apache Diretory Listing Generation
Before throwing out my question, I tried:
- changing all files & their dir's protection to include W:RWED
- using both Alias and ScriptAlias for alias "/xxx/"
- and now, I just tried changing file & dir ownership to match the Apache process
With proper security, this would be a nice feature for me as a sys admin.
Since you think that this is an odd idea, maybe Apache just doesn't support dir listings of ScriptAlias-ed directories.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-08-2006 08:39 AM
10-08-2006 08:39 AM
Re: Apache Diretory Listing Generation
Re: Apache Diretory Listing Generation
It _might_ help you scanning SCripot directories as well.
Use at you wown risk. No warrenties.
WG
OpenVMS Developer & System Manager
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP