I decided to try running my tomcat app as ROOT, by deploying it under
usr/java/tomcat-5.5/webapps/ROOT

It might not be the optimal way, but I want to at least first manage
to access this app by www.mydomain.com

However all I get is a 403 forbidden error. It turns out that running
tomcat from within apache is not as simple as I thought. Any ideas? --
godaddy definitely offers no support on customizations like this.

Would there be a quick way to switch off Apache completely and have
Tomcat take all incoming traffic to port 80?

Thanks in advance

On Fri, Jun 26, 2009 at 8:59 AM, Dimitrios
Christodoulakis<dimi....@gmail.com> wrote:
> Hello,
>
> I have been struggling for the past couple of weeks to redirect
> external traffic from the Apache 2 server to Tomcat 5.5 on a godaddy
> dedicated server.
>
> We have created a new domain on the server, which default public path
> is /home/myadmin/public_html/ when someone points there browser to
> www.mydomain.com
>
> At the same time I have uploaded and deployed the application under
> usr/java/tomcat-5.5/webapps/mydomain/
>
> As I understand at this time web content is served by the apache
> server and not Tomcat. What I have been trying to do is to have all
> pages static and dynamic be served by Tomcat.
>
> Godaddy offers limited support unless we buy into their assisted
> service plan. I followed some steps they initially suggested which
> involved creating a symbolic link between the default public directory
> /home/myadmin/public_html/ and the application directory
> usr/java/tomcat-5.5/webapps/mydomain/ by using the command:
>
> ln -s /usr/java/tomcat-5.5/webapps/mydomain/index.html
> /home/myadmin/public_html
>
> With this I hoped all requests from www.mydomain.com going to
> /home/myadmin/public_html would be automatically redirected to the
> actual tomcat content starting with the deployed application's
> index.html page. But unfortunately this does not work. I am always
> returned the 404 error message.
>
> Is there a known or recommended way to resolve this issue? After some
> searching I believe there are workarounds involving editing the
> /usr/java/tomcat-5.5/conf/server.xml and the etc/httpd/conf/http.conf
> files. Would it be possible someone to provide some general steps how
> to do this?
>
> Many thanks for any practical help.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to