HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache default web page does not list directories ...
Operating System - HP-UX
1833433
Members
2946
Online
110052
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-02-2005 07:31 AM
06-02-2005 07:31 AM
Apache default web page does not list directories & files in NFS mounted filesystem
System : HP-UX 11.23 with latest patches as per HP recommended
NFS Server : Windows Storage Server 2003
mount point "/opt/mnt/reports" is an NFS mount to the Windows Storage Server, everyone has full permissions.
Greetings
I run Apache 2.0 on my hp-ux system (for this example, call it hpux.domain.com) with the document root set to "/opt/mnt/". In this same directory, I have an NFS mounted sub directory "/opt/mnt/reports" and another sub directory under reports called "/opt/mnt/reports/dir1". "dir1" in turn has yet another sub directory called "subdir1"
When browsing to "http://hpux.domain.com", I get the directory listing "reports".
But browsing to "http://hpux.domain.com/reports/" DOES NOT list the directory "dir1" (or any files) in the list, but DOES list "parent directory".
AND browsing to "http://hpux.domain.com/reports/dir1" DOES list the sub directory "subdir1" and any other sub directories drilled down from this point.
For other reasons, I can only make use of an NFS mounted filesystem.
I need to view the directory listing for the top-level folder 'reports'.
Can anyone out there help?
Luq A
NFS Server : Windows Storage Server 2003
mount point "/opt/mnt/reports" is an NFS mount to the Windows Storage Server, everyone has full permissions.
Greetings
I run Apache 2.0 on my hp-ux system (for this example, call it hpux.domain.com) with the document root set to "/opt/mnt/". In this same directory, I have an NFS mounted sub directory "/opt/mnt/reports" and another sub directory under reports called "/opt/mnt/reports/dir1". "dir1" in turn has yet another sub directory called "subdir1"
When browsing to "http://hpux.domain.com", I get the directory listing "reports".
But browsing to "http://hpux.domain.com/reports/" DOES NOT list the directory "dir1" (or any files) in the list, but DOES list "parent directory".
AND browsing to "http://hpux.domain.com/reports/dir1" DOES list the sub directory "subdir1" and any other sub directories drilled down from this point.
For other reasons, I can only make use of an NFS mounted filesystem.
I need to view the directory listing for the top-level folder 'reports'.
Can anyone out there help?
Luq A
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 01:32 PM
06-02-2005 01:32 PM
Re: Apache default web page does not list directories & files in NFS mounted filesystem
Have you looked in /opt/hpws/apache/logs/error_log or access_log for details (or whatever ErrorLog is set to in your config). See if the logs contain info to let us know if there are any obvious problems.
Have you tried to put in the full url for a file that exists in reports/dir1 or any other subdir? If you're able to pull up the files but not list the contents of the dir, then it's most likely an apache config issue.
because it's an nfs mount, have a look at your apache config (httpd.conf) and add a directive to setup access to the nfs mount. This would go somewhere below documentroot.
May look something like this...
Options Indexes FollowSymLinks
EnableMMAP Off
EnableSendfile Off
After changing the apache config, restart apache. /opt/hpws/apache/bin/apachectl stop ; apachectl start
How was you're apache config setup? Was it all HP's default build and just documentroot changed?
Hope this helps,
-denver
Have you tried to put in the full url for a file that exists in reports/dir1 or any other subdir? If you're able to pull up the files but not list the contents of the dir, then it's most likely an apache config issue.
because it's an nfs mount, have a look at your apache config (httpd.conf) and add a directive to setup access to the nfs mount. This would go somewhere below documentroot.
May look something like this...
Options Indexes FollowSymLinks
EnableMMAP Off
EnableSendfile Off
After changing the apache config, restart apache. /opt/hpws/apache/bin/apachectl stop ; apachectl start
How was you're apache config setup? Was it all HP's default build and just documentroot changed?
Hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2005 07:04 PM
06-02-2005 07:04 PM
Re: Apache default web page does not list directories & files in NFS mounted filesystem
Hi Denver
Thanks for your response. The access and error_log don't give me any relevant clues. I can paste a tail of thos logs if you wish.
When I put in the FULL URL, it DOES work, except for the "http://hpux.domain.com/reports" - so I also suspect the apache config.
I am running a virtual host with the following config
ServerName hpux.domain.com
DocumentRoot /opt/mnt
Options Indexes FollowSymLinks +ExecCGI +Includes
AllowOverride All
Order allow,deny
Allow from all
I've also already added the directives you mentioned.
EnableMMAP Off
EnableSendfile Off
I have also tried the same config without the virtual host - same symptoms.
The apache setup was all default with only the above changes made and the "ServerName" Value defined.
I've tried mounting to another NFS server (WSS 2003), but experience the same symptoms.
If I do NOT mount the NFS mount, and place files and dirs in the reports directory, browsing to http://hpux.domain.com/reports LISTS the contents. So I'd have to say it has something to do with Apache and NFS.
Has anyone out there experienced this problem???
Regards
Luq
Thanks for your response. The access and error_log don't give me any relevant clues. I can paste a tail of thos logs if you wish.
When I put in the FULL URL, it DOES work, except for the "http://hpux.domain.com/reports" - so I also suspect the apache config.
I am running a virtual host with the following config
ServerName hpux.domain.com
DocumentRoot /opt/mnt
Options Indexes FollowSymLinks +ExecCGI +Includes
AllowOverride All
Order allow,deny
Allow from all
I've also already added the directives you mentioned.
EnableMMAP Off
EnableSendfile Off
I have also tried the same config without the virtual host - same symptoms.
The apache setup was all default with only the above changes made and the "ServerName" Value defined.
I've tried mounting to another NFS server (WSS 2003), but experience the same symptoms.
If I do NOT mount the NFS mount, and place files and dirs in the reports directory, browsing to http://hpux.domain.com/reports LISTS the contents. So I'd have to say it has something to do with Apache and NFS.
Has anyone out there experienced this problem???
Regards
Luq
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP