>Date: Thu, 12 Jul 2001 10:42:45 +0000
>To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>From: Marcus Valentine <[EMAIL PROTECTED]>
>Subject: Re: [htdig] htdig on Win2k with Apache
>In-Reply-To: <[EMAIL PROTECTED]>

<big snip>

>I'm having problems with the configuration/permissions issues with Apache.
Apache runs on my machine. I have administrator privileges on my machine
and Apache runs with my privileges. I have read/write access to the
directories on another (windows NT) network server I an trying access
through Apache.
>
>For example I have the line
>
>       Alias /stuff/ "//anotherserver/stuff/"
>
>in my httpd.conf file. When I request http://localhost/stuff/, I get
>
>       [error] [client 192.168.0.11] (22)Invalid argument: cannot read directory
for multi: //anotherserver/stuff/
>
>in Apaches error log. I have satisfied myself that Apache understands UNC
paths as the http.conf also contains
>
>       Alias /pingu/ "//pingu/web/"
>
>Where pingu is our linux machine. When I request http://localhost/pingu/ I
see the directory listing from pingu as expected.
>
>Can anyone shed any light on this?
>
>Marcus Valentine

This is now sorted on Windows NT, by a combination of

1) Using latest version of Apache [1.3.22]

2) Making sure the Apache services runs with sufficient rights to view the
network resources. On NT, go Start -> Setting -> Control Panel -> Services
and double click on the entry for Apache. By default, Apache installs as
the machine's system account. This grants access to the local drive but
doesn't appear to be sufficient to access network resources.  Create, or
get your system administrator to create an account with the required
privileges (cf the "nobody" user on Linux systems). Enter this into the
"This Account" box. Restart the Apache service (don't forget to create any
necessary aliases in the Apache configuration file).

Better still read http://httpd.apache.org/docs/win_service.html

3) I also set "Options MultiViews" in the Apache configuration file for the
networked aliases. I can't remember why/if that was necessary.

I hope this helps.

Marcus Valentine

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to