How to enable access to remote directories through Apache.
(Last modified: 14Jan2005)
This document (10094643) is provided subject to the disclaimer at the end of this document.
fact
Novell NetWare 6.5 SP2
Novell Apache 2.0.48
goal
How to enable access to remote directories through Apache.
symptom
Error: "could not create path context. error: 117" in the Apache error log when trying to access remote directories or user home directories on remote servers.
fix
Access to directories on remote servers can either be given to all users or restricted through authentication. Here are two examples of enabling Apache to provide content located on remote NetWare servers. In both examples the parameters were added to the httpd.conf file located in sys:/apache2/`:
PUBLIC ACCESS - No Authentication
<IfModule mod_edir.c>
hDirSearchContexts o=novell
RemoteDirEnabled on
Alias /remote "SERVERNAME/SYS:/remotetest"
<Directory "SYS:/remotetest">
Options Indexes MultiViews
Order allow,deny
Allow from all
</Directory>
</IfModule>
Restricted Access - Authentication Required
<IfModule mod_edir.c>
hDirSearchContexts o=novell
RemoteDirEnabled on
Alias /remote "SERVERNAME/SYS:/remotetest"
<Directory "SYS:/remotetest">
Options Indexes MultiViews
Order deny,allow
Allow from all
AuthType Basic
AuthName "Protected"
require valid-user
AuthLDAPAuthoritative On
AuthLDAPURL ldap://myserver.somewhere.com/o=novell?uid?sub
</Directory>
</IfModule>
.10.10.10.10 myserver.somewhere.com MYSERVER
10.10.10.11 remote.somewhere.com REMOTE_SERVER
Currently there is a problem displaying indexes of directories on the remote servers. If there is not default index file then no content displays. This has been reported to engineering as a defect.
document
Document Title: | How to enable access to remote directories through Apache. |
Document ID: | 10094643 |
Solution ID: | NOVL98906 |
Creation Date: | 16Sep2004 |
Modified Date: | 14Jan2005 |
Novell Product Class: | Web Services |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.