Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Error 404 -- Not Found (Oracle web logic) |
Page Previous 1, 2 |
Author |
|
Michael T
Joined: 28 Feb 2011 Posts: 39
|
Posted: Thu 01 Mar '12 11:09 Post subject: Re: Error page implementation not working |
|
|
The config should be the weblogic.conf not httd.conf. Also I notice you done have location match only location.
mahe1 wrote: | Hi michael,
I have modified my httd.conf file as you mentioned. But still am unable to get the error page. Have pasted my virtual host conf below. my error page is located in htdocs folder and am able to access through browser.
<Location ~ /BMP>
SetHandler weblogic-handler
WebLogicCluster 10.28.1.10:61001,10.28.1.11:61002,10.28.1.12:61003
Debug ON
WLLogFile /software/bea/apache/2.2.14/logs/wl_proxy_managed.log
WLTempDir /software/bea/apache/2.2.14/logs
ErrorPage http://10.36.1.9/BMPError.html
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript
</Location>
below is the access logs:
[01/Mar/2012:05:58:20 +0000] "GET /BMP_Home HTTP/1.1" 404 697
Does the ErrorPage option will redirect for 404 or only 503? Please reply me ASAP.. |
|
|
Back to top |
|
mahe1
Joined: 01 Mar 2012 Posts: 2
|
Posted: Fri 02 Mar '12 12:02 Post subject: |
|
|
Thanks michael.
So u want me to have a separate weblogic.config file and include that in httpd.conf file? it should look like
<IfModule mod_weblogic.c>
Include conf/weblogic.conf
</IfModule>
and the weblogic.conf file should be
<Locationmatch ~ /BMP>
SetHandler weblogic-handler
WebLogicCluster 10.28.1.10:61001,10.28.1.11:61002,10.28.1.12:61003
Debug ON
WLLogFile /software/bea/apache/2.2.14/logs/wl_proxy_managed.log
WLTempDir /software/bea/apache/2.2.14/logs
ErrorPage http://10.36.1.9/BMPError.html
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript
</Locationmatch>
is it ok to have like this? |
|
Back to top |
|
Michael T
Joined: 28 Feb 2011 Posts: 39
|
Posted: Fri 02 Mar '12 12:27 Post subject: |
|
|
Mahe
Yes looks about right, not sure what the ~ is in location match and also the weblogic.conf file I think should be in the extra directory
Include conf/extra/weblogic.conf
Let me know how you get on. |
|
Back to top |
|
Michael T
Joined: 28 Feb 2011 Posts: 39
|
Posted: Fri 09 Mar '12 13:55 Post subject: |
|
|
Mahe
Did the fix solve your problem? |
|
Back to top |
|
|
|
|
|
|