You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Srinivas Jonnalagadda <sa...@earthlink.net> on 2008/11/07 19:11:04 UTC

absolute url only working - urget hel p needed

Hi,

I need urget help configuring Apache HTTP Server 2.0.63, Tomact 5.5.9 and mod_jk1.2.26. Now i am inable to access with relative url and unless i give absolut servre name with port. For Example: http://serverhostname.ebiz.com:8080/kanaCallBack/ssoCallback.jsp then i am able to access. If i give http://stg.ebiz.com/kanaCallBack/ssoCallback.jsp. I get a page not found error in my IE.

Please let me know where to change the config to make this work.

Thanks,
srinivas Jonnalagadda  


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: absolute url only working - urget hel p needed

Posted by André Warnier <aw...@ice-sa.com>.
Rainer Jung wrote:
> Srinivas Jonnalagadda schrieb:
>> I need urget help configuring Apache HTTP Server 2.0.63, Tomact 5.5.9 and mod_jk1.2.26. Now i am inable to access with relative url and unless i give absolut servre name with port. For Example: http://serverhostname.ebiz.com:8080/kanaCallBack/ssoCallback.jsp then i am able to access. If i give http://stg.ebiz.com/kanaCallBack/ssoCallback.jsp. I get a page not found error in my IE.
>>
>> Please let me know where to change the config to make this work.
> 
> How could we know your config? What did you already try?
> 
Ok, I'll try too..
But first some additional questions :
- on what kind of machine are you running this ?
- where did you get the Apache, Tomcat and mod_jk from ?
- have you already done this kind of thing before ?

Obviously, when you access Tomcat directly (your first URL), it works. 
So Tomcat by itself is fine.
But when you try your second URL (which presumably is your Apache server 
on port 80), it does not work.
So, your Apache is not talking to your Tomcat, for some reason.
But to find out this reason, we need additional information, to know 
where to start.

For example, normally in your situation, in your Apache configuration 
files somewhere, there should be lines like :

JkMount /canaCallBack ajp13
JkMount /canaCallBack/* ajp13

Do you see this anywhere ?

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: absolute url only working - urget hel p needed

Posted by Rainer Jung <ra...@kippdata.de>.
Srinivas Jonnalagadda schrieb:
> I need urget help configuring Apache HTTP Server 2.0.63, Tomact 5.5.9 and mod_jk1.2.26. Now i am inable to access with relative url and unless i give absolut servre name with port. For Example: http://serverhostname.ebiz.com:8080/kanaCallBack/ssoCallback.jsp then i am able to access. If i give http://stg.ebiz.com/kanaCallBack/ssoCallback.jsp. I get a page not found error in my IE.
> 
> Please let me know where to change the config to make this work.

How could we know your config? What did you already try?

Regards,

Rainer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: absolute url only working - urget hel p needed

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Srinivas,

Srinivas Jonnalagadda wrote:
> For Example:
> http://serverhostname.ebiz.com:8080/kanaCallBack/ssoCallback.jsp
> then i am able to access. If i give
> http://stg.ebiz.com/kanaCallBack/ssoCallback.jsp. I get a page not
> found error in my IE.

These URLs are not the same. They have different host names and port
numbers. Did you expect them to go to the same place? Why?

If you do not include the port number in all your URLs (say, links in
your web pages), then it's simply not going to work. If you use relative
URLs, it /should/ work because most clients are smart enough to figure
out what the base URL is.

How are you generating your URLs in your web pages? Please provide a
(short) code sample.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkYZD8ACgkQ9CaO5/Lv0PAT6wCffkRmoWBlYyLDY/woi5QzpffP
l+QAnRpotK7UBrN21QVU936BiLdCpjKz
=pWvo
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org