- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Apache Diretory Listing Generation
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
тАО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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2006 03:37 PM
тАО08-09-2006 03:37 PM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2006 04:14 AM
тАО08-10-2006 04:14 AM
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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2006 08:39 AM
тАО10-08-2006 08:39 AM
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