ErrorDocument, Redirect and WebSphere web plugin
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HTTP Server > ErrorDocument, Redirect and WebSphere web plugin




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    ErrorDocument, Redirect and WebSphere web plugin  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-18-04 12:55 PM

Hi,

I saw that some people had problems with the ErrorDocument setting, but my c
ase seems to be particular.
The issue I'm facing is as follows:
I can't redirect users to a customized error page.

My configuration is:
I have a front web server linked to WebSphere by the WebSphere web plugin.
I have also some virtual host in my http.conf because we need to redirect us
ers (We have DNS aliases to offer customers easy and short URLs).

My http.conf has the following parameters:
NameVirtualHost websphere-test
<VirtualHost app01.fr.myfirm.com app01>   (app01 is the DNS alias used by cu
stomers for the first application)
ServerAlias app01.fr.myfirm.com
ErrorDocument 404 /Error404.html
ErrorDocument 500 /Error500.html
Redirect permanent / http://app01.fr.myfirm.com/app01
</VirtualHost>
<VirtualHost app02.fr.myfirm.com app02>    (app02 is the DNS alias used by c
ustomers for the second application)
ServerAlias app02.fr.myfirm.com
ErrorDocument 404 /Error404.html
ErrorDocument 500 /Error500.html
Redirect permanent / http://app02.fr.myfirm.com/app01
</VirtualHost>


(The document root is set to
DocumentRoot "C:\Program Files\IBM HTTP Server/htdocs/en_US"

(At the end of the httpd.conf we have the web plugin loading lines)
LoadModule ibm_app_server_http_module "C:\Program Files\IBM HTTP Server\modu
les/mod_ibm_app_server_http.dll"
WebSpherePluginConfig "C:\Program Files\IBM HTTP Server\conf/plugin-cfg.xml"

Any idea ?

Thanks a lot for any help you could provide.

Maxime Heinisch.

PS: An additionnal question: How can I manage to make special characters app
earing like less than, greater than signs ? It seems that the browser view t
hem as HTML code.





[ Post a follow-up to this message ]



    Re: ErrorDocument, Redirect and WebSphere web plugin  
Sunit Patke


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-18-04 11:01 PM

I am not in a position to setup and test what you are trying but these are
my thoughts:
You have not set DocumentRoot for each of the VirtualHost, so it will use
the default (global)
DocumentRoot and hence always display the same error pages for both the
Virtual Hosts.

If this is not the issue then can you please post what is the exact error
you are seeing. Please include any entries in the access_log and error_log
of the HTTP Server.

Sunit

<m.heinisch@wyniwyg.com> wrote in message
news:338353189.1092822370751.JavaMail.wasadmin@swg3ws006...
> Hi,
>
> I saw that some people had problems with the ErrorDocument setting, but my
case seems to be particular.
> The issue I'm facing is as follows:
> I can't redirect users to a customized error page.
>
> My configuration is:
> I have a front web server linked to WebSphere by the WebSphere web plugin.
> I have also some virtual host in my http.conf because we need to redirect
users (We have DNS aliases to offer customers easy and short URLs).
>
> My http.conf has the following parameters:
> NameVirtualHost websphere-test
> <VirtualHost app01.fr.myfirm.com app01>   (app01 is the DNS alias used by
customers for the first application)
> ServerAlias app01.fr.myfirm.com
> ErrorDocument 404 /Error404.html
> ErrorDocument 500 /Error500.html
> Redirect permanent / http://app01.fr.myfirm.com/app01
> </VirtualHost>
> <VirtualHost app02.fr.myfirm.com app02>    (app02 is the DNS alias used by
customers for the second application)
> ServerAlias app02.fr.myfirm.com
> ErrorDocument 404 /Error404.html
> ErrorDocument 500 /Error500.html
> Redirect permanent / http://app02.fr.myfirm.com/app01
> </VirtualHost>
>
>
> (The document root is set to
> DocumentRoot "C:\Program Files\IBM HTTP Server/htdocs/en_US"
>
> (At the end of the httpd.conf we have the web plugin loading lines)
> LoadModule ibm_app_server_http_module "C:\Program Files\IBM HTTP
Server\modules/mod_ibm_app_server_http.dll"
> WebSpherePluginConfig "C:\Program Files\IBM HTTP
Server\conf/plugin-cfg.xml"
>
> Any idea ?
>
> Thanks a lot for any help you could provide.
>
> Maxime Heinisch.
>
> PS: An additionnal question: How can I manage to make special characters
appearing like less than, greater than signs ? It seems that the browser
view them as HTML code.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:14 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register