Forum OpenACS Development: Re: Res: Re: Res: Re: Problems with connections

I realized that it does not happen this error with aolserver 4.5, only with aolserver 4.0.10, I don't know exactly why.

To my installation with aolserver 4.0.10, I made the following patch, inside the proc “rp_handler” in the file “acs-tcl/tcl/request-processor-procs.tcl”.

The patch is:

800c800,808
< # information twice when for example we get a 404 internal redirect. We should probably
---

# information twice when for example we get a 404 internal
# redirect. We should probably

# Fix to when is trying to use my server like proxy

if {"http://[ns_set iget [ns_conn headers] Host]" ne [ns_conn location]} {
return [ns_conn close]
}

regards,

César Hernández