Hi Bartosz,
We have a problem to configure custom error pages in a
Cocoon/Tomcat/Apache situation.
In the attached file you can see virtual host configuration, but it
doesn't work.
We still get cocoon's "Resource not found" exception for non existing
documents.
I checked HTTP header (using firefox plugin "Live HTTP headers") and
found that there is a response code 404 for non existing pages.
IMO this means that we should not change anything in the sitemap and
that this is only Tomcat/Apache configuration issue.
Do you have any idea what is the problem.
Thanks in advance.
--
Met vriendelijke groet / Kind regards,
Petar Becic
Senior Software Developer
Levi9 Global Sourcing
===============================================================
Adress: Jan van Goyenkade 8, 1075 HP Amsterdam
Tel.: (+31) (0) 20 6701 947
Mobile: (+381) (0) 62 415 171
Email: [EMAIL PROTECTED]
SkypeID: p.becic
Internet: www.levi9.com
Chamber of commerce Levi9 Global Sourcing BV: 34221951
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
===============================================================
This e-mail may contain confidential or privileged information. If you are not
(one of) the intended recipient(s), please notify the sender immediately by
reply e-mail and delete this message and any attachments permanently without
retaining a copy. Any review, disclosure, copying, distribution or taking any
action in reliance on the contents of this e-mail by persons or entities other
than the intended recipient(s) is strictly prohibited and may be unlawful.
The services of Levi9 are exclusively subject to its general terms and
conditions. These general terms and conditions can be found on www.levi9.com
and a copy will be promptly submitted to you on your request and free of charge.
<VirtualHost *:80>
ServerName preview.acct.oha.nl
Serveralias preview.acct.oha.asp4all.nl
ErrorLog /export/logs/apache/oha/error_log
CustomLog /export/logs/apache/oha/access_log common
DocumentRoot /export/www/oha/html
ErrorDocument 403 /export/www/oha/html/error_pages/foutpagina-404.html
ErrorDocument 404 /export/www/oha/html/error_pages/foutpagina-404.html
ErrorDocument 500 /export/www/oha/html/error_pages/foutpagina-404.html
ProxyRequests on
<Proxy *>
Order Deny,Allow
Allow from all
</Proxy>
ProxyPass / http://preview.acct.oha.nl:8082/
ProxyPassReverse / http://preview.acct.oha.nl:8082/
</VirtualHost>
<VirtualHost *:80>
ServerName www.acct.oha.nl
Serveralias www.acct.oha.asp4all.nl
ErrorLog /export/logs/apache/oha/error_log
CustomLog /export/logs/apache/oha/access_log common
DocumentRoot /export/www/oha/html
#JkMount /* worker3
ErrorDocument 403 /export/www/oha/html/error_pages/foutpagina-404.html
ErrorDocument 404 /export/www/oha/html/error_pages/foutpagina-404.html
ErrorDocument 500 /export/www/oha/html/error_pages/foutpagina-404.html
ProxyRequests on
<Proxy *>
Order Deny,Allow
Allow from all
</Proxy>
ProxyPass / http://www.acct.oha.nl:8082/
ProxyPassReverse / http://www.acct.oha.nl:8082/
</VirtualHost>********************************************
Hippocms-dev: Hippo CMS development public mailinglist
Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html