Apache Web Server + Tomcat Integration with Domain Name?

2003-06-21 Thread Sam at Yahoo
Hi,

I've integrated my Apache Web Server and Tomcat Server
using John Turner's helpful HOWTO website 
http://www.johnturner.com/howto/winxp-howto.html.  I'm
running on Windows 2000.  

I followed the example using localhost and everything
works fine.  The following URLS work:

http://localhost  
http://localhost:8080/examples/jsp/index.html 
http://localhost/examples/jsp/index.html 

However, I do have a registered domain name that has 
DNS entry. I would like to make the following URLs
work:

http://www.mydomain.com
http://www.mydomain.com:8080/examples/jsp/index.html 
http://www.mydomain.com/examples/jsp/index.html

How do I make this work?  

I tried this in my server.xml but it didn't work:

  Host name=localhost debug=0
appBase=webapps 
   unpackWARs=true autoDeploy=true
Aliaswww.mydomain.com/Alias
...

Can anyone help me, please?

-Sam


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache-Tomcat mod_jk Problem

2003-06-21 Thread Sam at Yahoo
I tried both of your URLs and they seem to be working
now! I'm trying to do the exact same thing...but am
having problems.   I've got it all working with
localhost but can't get it working with my domain name
(e.g. http://localhost/examples vs
http://www.mydomain.com/examples).  Can you give me
any hints or suggestions on what I need to change in
my httpd.conf and server.xml?

I haven't set up any virtual hosts in my httpd.conf
and have added the following Alias line in my
server.xml (in Host definition):

  Host name=localhost debug=0
appBase=webapps unpackWARs=true autoDeploy=true
Aliaswww.mydomain.com/Alias 

This didn't help me.  Any suggestions?




--- Dave Wicks [EMAIL PROTECTED] wrote:
 I have recently setup mod_jk with Apache 2.0.40
 serving as a proxyfor Tomcat 
 4.1.24.
 
 The problem is that some redirects don't work
 correctly.
 
 e.g. Access the login.jsp on Tomcat directly (port
 8080)  login 
 (tomcat/password), this works fine!

http://funbox.hopto.org:8080/examples/jsp/security/protected/login.jsp
 
 then try the proxy:

http://funbox.hopto.org/examples/jsp/security/protected/login.jsp
 This only results on a 404 from the Apache server.
 
 Can someone please suggest why?
 
 Also, would the remedy work over SSL?
 
 Many Thanks
 

_
 Hotmail is now available on Australian mobile
 phones. Go to  
 http://ninemsn.com.au/mobilecentral/signup.asp
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]