Apache - Unable to access a folder's contents over HTML

joe904

Distinguished
Apr 11, 2015
34
0
18,530
Hey guys,

I am setting up a webpage that I can access some of my PDF's over the web in a different folder on my server. I setup an Alias in my httpd.conf document that points to a network share on a different drive from my C:/ root directory. When I try to access the URL, i get a Access Forbidden 403 error. I have already tried to create an .htaccess file with only "Options +Indexes" added to the document so that I could see the contents of the directory, but with no luck. I just keep getting the same 403 error. FYI: When I added the .htaccess file I made sure to restart apache. I am really out of ideas and could use some help.


Alias /software "R:\ServerFolders\Media\SOFTWARE"
<Directory "R:\ServerFolders\Media\SOFTWARE">
order allow,deny
Allow from all
Require all granted
Options +Indexes
</Directory>