Jump to content
Sign in to follow this  
rain13

I canf figure out how to grant access to my directory.

Recommended Posts

Ok after over hour of googling I decided to post here.


I get

Forbidden
You don't have permission to access /test.php on this server.

Apache/2.4.18 (Ubuntu) Server at localhost Port 80

 

 

in my apache2.conf is:
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Require all granted
Allow from all
</Directory>

 

in my 00-default.conf I have

DocumentRoot /home/rain/www/
<Directory /home/rain/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>


What do I need to do to get access?

Share this post


Link to post
Share on other sites

Check the permissions for the folder and file to make sure that the process that Apache runs under has permission to read everything.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...