The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Cannot Access a Hard Drive Unless Apache Runs Off It  (Read 3931 times)

mpfrench

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
Cannot Access a Hard Drive Unless Apache Runs Off It
« on: March 30, 2013, 04:12:39 AM »

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?
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 848
Re: Cannot Access a Hard Drive Unless Apache Runs Off It
« Reply #1 on: March 30, 2013, 04:22:06 AM »

Error log says?
Logged

mpfrench

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
Re: Cannot Access a Hard Drive Unless Apache Runs Off It
« Reply #2 on: March 30, 2013, 02:54:26 PM »

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

mpfrench

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
Re: Cannot Access a Hard Drive Unless Apache Runs Off It
« Reply #3 on: March 30, 2013, 03:12:09 PM »

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/"
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 848
Re: Cannot Access a Hard Drive Unless Apache Runs Off It
« Reply #4 on: March 30, 2013, 07:13:12 PM »

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

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

mpfrench

  • Newbie
  • *
  • Offline Offline
  • Posts: 10
Re: Cannot Access a Hard Drive Unless Apache Runs Off It
« Reply #5 on: March 30, 2013, 11:55:12 PM »

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!
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13