Hi,
I am using Apache (1.3.19.3) as my front end server, and WebSphere (4.0.7) as my application server.
I am trying to configure Apache to display a certain page when my application server is down - but am having no luck. (WebSphere is running, but the actual app server is stopped.)
I have tried to achieve this by using the ErrorDocument property, but I always get the standard out of box Error 500 Internal Server Error page, that tells me I should email the administrator.
I want the error page to show when a user goes to http://pcsstg.harrahs.org and the application server is down.
I have tried to put the ErrorDocument into the VirtualHost settings, but that does not work. I have also tried putting the same line by itself where the ErrorDocument examples are in httpd.conf.
Can someone tell me what I am doing wrong?
thanks
robin
access_log:
--------------------------------------------------------
10.135.22.78 - - [29/Jan/2004:10:25:36 -0600] "GET /login.jsp HTTP/1.1" 500 539
10.135.22.80 - - [29/Jan/2004:10:26:59 -0600] "GET /login.jsp HTTP/1.1" 500 539
10.135.22.65 - - [29/Jan/2004:10:31:38 -0600] "GET /login.jsp HTTP/1.1" 500 539
--------------------------------------------------------
httpd.conf:
--------------------------------------------------------
NameVirtualHost 192.168.37.171
<VirtualHost lassen.harrahs.org>
ServerAdmin lstacey@harrahs.com
DocumentRoot /usr/HTTPServer/htdocs/en_US
ServerName lassen.harrahs.org
ErrorLog logs/error_log
TransferLog logs/access_log
</VirtualHost>
<VirtualHost pcsetrstg.harrahs.org>
ServerAdmin lstacey@harrahs.com
DocumentRoot /www/pcsetr/htdocs
ServerName pcsetrstg.harrahs.org
ErrorLog logs/error_log.pcsetrstg
TransferLog logs/access_log.pcsetrstg
</VirtualHost>
<VirtualHost pcsstg.harrahs.org>
ServerAdmin lstacey@harrahs.com
DocumentRoot /www/pcs/htdocs
ServerName pcsstg.harrahs.org
ErrorLog logs/error_log.pcsstg
TransferLog logs/access_log.pcsstg
ErrorDocument 500 /pcs_outage.html <-------- ErrorDocument
</VirtualHost>
-------------------------------------------
Robin Clarke
Harrah's | Information Technology | Las Vegas
p: (702) 407 6137 f: (702) 407 6132
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
I am using Apache (1.3.19.3) as my front end server, and WebSphere (4.0.7) as my application server.
I am trying to configure Apache to display a certain page when my application server is down - but am having no luck. (WebSphere is running, but the actual app server is stopped.)
I have tried to achieve this by using the ErrorDocument property, but I always get the standard out of box Error 500 Internal Server Error page, that tells me I should email the administrator.
I want the error page to show when a user goes to http://pcsstg.harrahs.org and the application server is down.
I have tried to put the ErrorDocument into the VirtualHost settings, but that does not work. I have also tried putting the same line by itself where the ErrorDocument examples are in httpd.conf.
Can someone tell me what I am doing wrong?
thanks
robin
access_log:
--------------------------------------------------------
10.135.22.78 - - [29/Jan/2004:10:25:36 -0600] "GET /login.jsp HTTP/1.1" 500 539
10.135.22.80 - - [29/Jan/2004:10:26:59 -0600] "GET /login.jsp HTTP/1.1" 500 539
10.135.22.65 - - [29/Jan/2004:10:31:38 -0600] "GET /login.jsp HTTP/1.1" 500 539
--------------------------------------------------------
httpd.conf:
--------------------------------------------------------
NameVirtualHost 192.168.37.171
<VirtualHost lassen.harrahs.org>
ServerAdmin lstacey@harrahs.com
DocumentRoot /usr/HTTPServer/htdocs/en_US
ServerName lassen.harrahs.org
ErrorLog logs/error_log
TransferLog logs/access_log
</VirtualHost>
<VirtualHost pcsetrstg.harrahs.org>
ServerAdmin lstacey@harrahs.com
DocumentRoot /www/pcsetr/htdocs
ServerName pcsetrstg.harrahs.org
ErrorLog logs/error_log.pcsetrstg
TransferLog logs/access_log.pcsetrstg
</VirtualHost>
<VirtualHost pcsstg.harrahs.org>
ServerAdmin lstacey@harrahs.com
DocumentRoot /www/pcs/htdocs
ServerName pcsstg.harrahs.org
ErrorLog logs/error_log.pcsstg
TransferLog logs/access_log.pcsstg
ErrorDocument 500 /pcs_outage.html <-------- ErrorDocument
</VirtualHost>
-------------------------------------------
Robin Clarke
Harrah's | Information Technology | Las Vegas
p: (702) 407 6137 f: (702) 407 6132
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org