Forum OpenACS Q&A: Re: Res: Re: Errors are seen by everybody

Collapse
Posted by Brian Fenton on
By the way, which parameter did you set to /global/nfound.html? Was it NotFoundResponse or 404? You need to set both I think.

Brian

Collapse
Posted by unuser u on
Hi,

-The config.tcl is the one from 5.5.0
-The 404 parameters are the next one:

ns_param NotFoundResponse "global/nfound.html"
ns_param 404 "global/nfound.html"

- Thinking about it, maybe the 'hostname' parameter must be a real thing . At this moment i have a domain name in hostname. I can't test it now but i will :(

Thanks

Collapse
Posted by Brian Fenton on
Is "global/nfound.html" the same thing as "/global/nfound.html" (with the leading "/")?
Collapse
Posted by unuser u on
Yes it is, sorry for the delay

I have just installed again openacs 5.5.0 with the same problems as result.

Collapse
Posted by Brian Fenton on
sorry for the delay replying to you - something Dave Bauer mentioned in another thread (http://openacs.org/forums/message-view?message_id=2961711) got me thinking. What does the access log say?
Hi

wow! it looks like my problem. Here the logs a bit edited

Get Request with a simple firefox

source get ip - - [14/Sep/2009:16:15:02 +0200] "GET /ffdgsdfgsdfg HTTP/1.1" 500 545 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)" 0.018631 "ad_session_id=randomletterandnumbers"

The server sends a 500 error as you see because...

[14/Sep/2009:16:15:02][20870.2996648848][-default:45-] Error: return: failed to redirect 'GET /tesst.html': exceeded recursion limit of 3

The weird file name is one of my numerous tests.

so project-manager... I have to check it in my installations.

Thanks for the new hint