The site directory was moved to a different server and now I'm getting this error:
Forbidden
You don't have permission to access / on this server.
Apache Server at www.samplesite.com Port 80
I've tried changing the paths from
/www/sites/samplesite.com
to /var/www/www.samplesite.com
on the config and settings files but the same error is showing. How do I determine what the problem could be? And how to solve it?
do you have access administrator on server? if you have, try the commands bellow:
$ chmod 755 /var/www/
or change user/group owner:
$ chown -R wwwuser:wwwgroup /var/www/
Obs.: change wwwuser and wwwgroup with the user and group default of http server configuration.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.