Cannot Access a Hard Drive Unless Apache Runs Off It

Started by mpfrench, March 30, 2013, 04:12:39 AM

Previous topic - Next topic

mpfrench

I've installed Apachehaus version 2.4.4 (64 bit) on Windows 7 (64 bit).  Using a virtual hosts setup, on one instance, I'm trying to serve files that are installed on a second hard drive where apache is installed on another hard drive.  I keep getting permission error messages and have tried setting the permissions in addition to using the Alias command.  Anyone have the solution?

Gregg


mpfrench

The error log does not report anything.  The message fed to the client browser is "The requested URL / was not found on this server."

mpfrench

Disregard my last post.

I have the server installed on C:.  I'm trying to serve files from G:.  Client browser displays message "You don't have permission to access / on this server."  Error log reports "[Sat Mar 30 09:05:18.853515 2013] [authz_core:error] [pid 1832:tid 1128] [client 192.168.113.108:49222] AH01630: client denied by server configuration: G:/MOVIES/"

Gregg

Must grant access to the G:/MOVIES directory in Apache.

<Directory "G:/MOVIES/">
Options None
AllowOverride None
Require all granted
</Directory>

mpfrench

You pointed me in the right direction which let me get it working.  Here's what I ended with:

<Directory "G:/MOVIES">
Options Indexes
AllowOverride None
AuthType Digest
AuthName "Movies"
AuthDigestProvider file
AuthUserFile PASSWD/pwdigest80.txt
Require valid-user
</Directory>

Thanks for your help!