• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 507
  • Last Modified:

Problem accessing Tomcat on port 80 Ubuntu

I am just trying to set up tomcat and I am stuck on trying to access it from port 80.

I am getting the following error:

[client ::1] client denied by server configuration: proxy:ajp://127.0.0.1:8009/favicon.ico

I have enabled the modules proxy, proxy_ajp and proxy_http.

Here is my /etc/apache2/mods-enabled/proxy.conf:
<IfModule mod_proxy.c>
        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.

        ProxyRequests Off

        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Deny from none # was all
                #Allow from .example.com
        </Proxy>

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
        # Set to one of: Off | On | Full | Block

        ProxyVia On
</IfModule>

Open in new window

0
Jeff swicegood
Asked:
Jeff swicegood
1 Solution
 
digusCommented:
This should work:

<IfModule mod_proxy.c>
  ProxyRequests Off
  <Proxy *>
    Order deny,allow
    Deny from all
    Allow from localhost
  </Proxy>
  ProxyVia On
</IfModule>
0
 
Jeff swicegoodTechnicianAuthor Commented:
Thank you very much!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now