I am not an entire beginner and sorry for posting an ambiguous question that's been published in other slightly many forms so numerously. Anyway I recieve this error:

Forbidden
You don't have permission to access / on this server.
Apache/2.2.14 (Ubuntu) Server at gookie.localhost Port 80

I've apache2 proxying a tomcat6. listed here are the particulars:

  • the tomcat install reaches /home/ae1/lib/java/apache-tomcat-6..29
  • ln -s /home/ae1/lib/java/apache-tomcat-6..29 /var/www/tomcat6
  • http.conf:

<Directory "/var/www/tomcat6/webapps/springapp">
    Options +Indexes FollowSymLinks +ExecCGI
    AllowOverride AuthConfig FileInfo
            Order allow,deny
    Allow from all
</Directory>
  • /etc/hosts has this entry: 127.0.0.1 localhost gookie.localhost
  • /etc/apache2/sites-available/gookie.localhost.conf

<VirtualHost *:80 >
  ServerName gookie.localhost
  DocumentRoot /var/www/tomcat6/webapps/springapp
  DirectoryIndex index.jsp index.html index.htm index.php

  ProxyPass / http://localhost:8080/springapp
  ProxyPassReverse / http://localhost:8080/springapp
</VirtualHost>

<Directory "/home/www/tomcat6/webapps/springapp">
        Options +Indexes FollowSymLinks +ExecCGI
        AllowOverride AuthConfig FileInfo
        Order allow,deny
        Allow from all
</Directory>
  • the /var/www/tomcat6/conf/server.xml file has:

<Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443"
           proxyName="gookie.localhost"
               />

I'd proxyPort="80" in server.xml but still no luck.

Any ideas about this?