Results 1 to 4 of 4
Hi everyone! I have a server with Apache2 and Websphere. I have a working page that has 2 frames (xxx.html and yyy.jsp) that is accessed by http://xxx.yyy.zzz/mar/chec/htm/frame.html , but now ...
- 01-21-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 16
Another Apache-Alias problem :(
Hi everyone! I have a server with Apache2 and Websphere. I have a working page that has 2 frames (xxx.html and yyy.jsp) that is accessed by http://xxx.yyy.zzz/mar/chec/htm/frame.html , but now I was asked to 'reduce' that long address into a simpler one, so I went to the httpd.conf and added something like this:
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/"..
#
Alias /sgche /home/mar/web/chec/htm
so that when I go to http://xxx.yyy.zzz/sgche/frame.html, it could be redirected as the one mentioned above. The upper frame (.html) works, including all references to images, etc, the problem is that the lower frame (.jsp) throws a "Internal Server Error"...Is putting an Alias in the httpd.conf a wrong approach?
- 01-22-2009 #2
are you getting any apache errors or is the internal server error being generated by websphere? are there any errors in websphere, like can't access blah blah?
- 01-22-2009 #3Just Joined!
- Join Date
- Jan 2009
- Posts
- 16
Hi again, I checked both error_log and access_log from Apache's logs. The error_log doesn't show any important error, the access_log shows that it gets the 500 error:
[22/Jan/2009:13:45:08 -0600] "GET /sgiche/Jsp/validateok.jsp HTTP/1.1" 500 634
So I guess that the error is originated from a request to WebSphere, I checked the waslog and it shows this:
Thu Jan 22 13:45:07 2009 - 00000000 00000000 - Error - ws_open_domain_client_socket: 1 attempts, last error 111
Thu Jan 22 13:45:07 2009 - 00000000 00000000 - Error - mediate_service_to_clone: Error 8 from clone 0, uri /sgichecador2/Jsp/validaok.jsp
Thu Jan 22 13:45:07 2009 - 00000000 00000000 - Error - router_service : Failed 8
As a note, when typing the complete address (http://xxx.xxx.xxx.xxx/mar/chec/html/dframep.html) the jsp in that frame loads correctly (from Websphere configuration, the Web Application Web Path of this app is /mar, Document Root: /home/mar/web), it seems as if the Alias I put in the Apache httpd.config (Alias /sgichecador /home/mar/web/chec/) doesn't like to resolve the jsp...am I missing something?
- 01-23-2009 #4
I haven't dealt with was in a bit but from the link that you said still works, that link is still coming from apache, otherwise you would have specified a port.
can you post the whole virtual host section from apache for that site?
I think maybe you need to edit the plugin-cfg.xml file in apache, was isn't listening for the same alias' that apache is.


Reply With Quote
