[opencms-dev] trouble with 404 handler

Christian Steinert christian_steinert at web.de
Sun Nov 5 22:28:52 CET 2006


Hi List,

I am trying to configure static export and for that I need a working
file-not-found handler.
The static export configuration itself is nothing that I am so concerned
about, but I have a problem with the error handler servlet of opencms.

No matter which URL I call that should be associated with the
errorhandler servlet, I always get a tomcat-style permission denied page
with error code 403 (=permission denied), saying: "_Access to the
specified resource () has been forbidden._"

For  example, if I call:
    http://localhost:8080/opencms-errorhandler/
or
    http://localhost:8080/opencms-errorhandler/handle404/
or
   
http://localhost:8080/opencms-errorhandler/handle404/sites/default/path/to/page.html
or
    http://localhost:8080/opencms-errorhandler/handle404/path/to/page.html

... with any of these URLs I get the mentioned error (
/sites/default/path/to/page.html stands for an existing file in the VFS ).
___________

- I have checked my opencms and tomcat logs and there is nothing there,
although I have set the log4j loglevel to INFO for everything.
- I have checked the permissions of all files below the
/system/handlers/ directory in the virtual filesystem, but all files are
readable and viewable for Guest users
- The rest of my system is working. If I directly call the 404 handler
page "/system/handler/handle404.html", instead of triggering the
separate errorhandling servlet, then I see the normal error page instead
of a permission denied error.


So my questions are:
* Does it work for anyone?
* Does anyone know what could be wrong with the errorhandler servlet?
* Did anyone else experience something similar?

Any replies are highly appreciated. Thanks in advance,
christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061105/ed082686/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3269 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061105/ed082686/attachment.bin>


More information about the opencms-dev mailing list