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