3
I’m trying to set up mine apache
to access a folder in my HD
with windows
, have 2 hds
on the machine, a ubuntu
and the other the windows
.
The apache
already installed, including I have created the file:
/etc/apache2/sites-avaliable/vip.localhost.conf
I added the lines:
ServerName vip.localhost
ServerAlias vip.localhost
ServerAdmin webmaster@localhost
DocumentRoot /media/name/2E4C85684C852BA1/development
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log
And I also made the alteration in the hosts
, but when I try to access vip.localhsot
I get the code:
403 Forbiden
In case it says I don’t have access to this directory.
Does anyone have any idea what I have to do? Do I need to assemble a folder in the ubuntu
so that he can access my files? If so, how do I?
403 means access denied, there are conditions to provide the necessary permissions for that folder?
– Erlon Charles
Probable cause is the lack of access permission that is in Ricardo’s response (configured in the Directory tag). It was strange the lack of tags in the configuration, but I don’t know how the structure of includes, maybe they were omitted just to post here.
– fbiazi