【发布时间】:2017-04-12 22:33:59
【问题描述】:
我刚刚在apache中配置了tomcat java应用程序,如下所示。
<VirtualHost *:80>
ServerName domain.com
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8080/app_name
ProxyPassReverse / http://localhost:8080/app_name
</VirtualHost>
后来我使用a2ensite adavipalem.conf 启用了站点并重新启动了服务器。
当我尝试通过点击像 >> domain.com 从浏览器访问
我在浏览器中得到了类似下面的内容。
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.7 (Ubuntu) Server at adavipalem.com Port 80
谁能帮我在哪里更改此配置?
问候,
【问题讨论】:
-
httpd 的
error.log或Tomcat 的catalina.out有错误吗?