To answer a few questions:
I'm running apache and tomcat on the same server (AIX). I'm also
running VIPA (Virtual IP Addresses)
under AIX. So, I have apache serving up one IP address (Vhost)
without the need for tomcat on
port 80. It serves up some documentation for users.
The second IP/Vhost is running DSpace software. DSpace runs off
Tomcat, but there are several
webapps that can run under the DSpace/Tomcat servlets. Here's the
rundown:
http://digital.maag.ysu.edu:8080/jspui (JSP front end)
http://digital.maag.ysu.edu:8080/xmlui (Running xmlui interface/
cocoon)
http://digital.maag.ysu.edu:8080/oai (Harvester)
http://digital.maag.ysu.edu:8080/sword (Another interface for specific
uploads--we aren't using currently)
As you can see I'd like to do TWO things here:
1. Remove the port issue if possible--makes it simpler on users and
shorter too.
2. Redirect http://digitial.maag.ysu.edu to digital.maag.ysu.edu/jspui
interface and keep the other interfaces.
Does this help analyze the situation? Currently, I've just kept a
simple redirect for digital.maag.ysu.edu
to the first example in the list.
I have to be honest, this isn't my area of expertise, so I'm a one-
person-band here.
Thanks for all your help.
--Jeff
On Nov 17, 2009, at 4:57 PM, André Warnier wrote:
Jeffrey Trimble wrote:
Recently, I used the cheap and easy http redirects from my apache
server to my tomcat
server. I ran into two issues, that I hope someone is able to
guide me to a better solution
First, I wanted to have the user not have to know about port 8080,
and to have the root
of the apache redirect to the tomcat servlet running. So for my
apache, I had the
redirect of (in the httpd-vhosts.conf file)
...
The very first question is : do you use an Apache httpd front-end
*only* in order to hide port 8080 ?
Because if that is the case, why don't you just have Tomcat
listening to port 80 directly ? It can also serve static pages, not
just JSPs or servlets.
The fact that you are using a proxy setup to proxy "/" to Tomcat,
makes me wonder.
Second question : are Apache httpd and Tomcat running on the same
host ?
Jeffrey Trimble
System LIbrarian
William F. Maag Library
Youngstown State University
330.941.2483 (Office)
jtrim...@cc.ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
"I must not fear. Fear is the mind-killer.
I will permit it to pass over me and through me..."
--Litany against fear....