By parnaigon
I follow this instruction
now when i go to ip address this error occurs: Directory access is forbidden.
in /var/www/
drwxr-xr-x 3 755 www-data 4096 Aug 4 12:33 . drwxr-xr-x 14 root root 4096 Aug 4 12:33 … drwxr-xr-x 16 755 www-data 4096 Aug 4 13:15 html
what should I do?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Yes I do inside /var/www/html, but not in /var/www
/var/www/html$ ls -la total 76 drwxr-xr-x 16 755 www-data 4096 Aug 4 13:15 . drwxr-xr-x 3 755 www-data 4096 Aug 4 12:33 … drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 cache drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 config drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 controllers drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 core drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 errors drwxr-xr-x 4 755 www-data 4096 Aug 4 12:55 helpers drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 hooks -rw-r–r-- 1 755 www-data 123 Aug 4 12:55 index.html -rw-r–r-- 1 755 www-data 20 Aug 4 13:13 jd.php drwxr-xr-x 13 755 www-data 4096 Aug 4 12:55 language drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 libraries drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 logs drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 migrations drwxr-xr-x 2 755 www-data 4096 Aug 4 12:55 models drwxr-xr-x 3 755 www-data 4096 Aug 4 12:55 third_party -rw-rw-r-- 1 755 www-data 7 Aug 4 12:55 version.txt drwxr-xr-x 3 755 www-data 4096 Aug 4 12:55 views
that is the root directory of the website for apache2
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.