Set wap.luger.me in apache to point to the wap project in tomcat. Forbidden
appears when accessingYou don't have permission to access / on this server.
This is not a problem of permissions. Tomcat is started as luger user. Apache is started as root user. Please tell me how to solve this problem. Thanks.
I just happened to encounter this problem. There are many reasons for this problem. The method to solve this problem depends on your apache version. The solution is also different. If you installed it recently, the apache version should be 2.4. It configures the virtual directory differently than 2.2.
Please read this article carefully: http://linux.cn/article-3164-1.html
This is set in the apache default directory. If the virtual directory is not built in /var/www, then it must be set as follows:
No permission to access root directory
It should be that the configuration file was written incorrectly. Is it written like this?
Directory "/"