Forum OpenACS Q&A: Re: https:// section of the website is doing security checks on graphics files for public viewers

You've got to patch ad_login_page in packages/acs-tcl/tcl/security-procs.tcl so it looks something like this:

ad_proc -private ad_login_page {} {
    
    Returns 1 if the page is used for logging in, 0 otherwise. 

} {

    set url [ad_conn url]
    if { [string match "*register/*" $url] || [string match "/index*" $url] || [string match "/graphics*" $url] || \
        [string match "/" $url] } {
    return 1
    }

    return 0
}

Then it won't try to run security checks on files in your graphics directory.