I’ve been developing a platform on Lucee for some time now and it’s gone really well, however I still have a site on ACF that I need to move to Lucee so I can finally shut the ACF server down. This is the site that I had the trouble with in this thread.
It’s a lot to read so I will summarize below
What I had found is that when a CFLOCATION was executed it was giving a message of Object Moved, however after some digging it was discovered this was because I had a lot of cookies (69 or so) and the headers were too large. The site works fine on ACF.
I tried fixing it but failed. This is from the thread above
The issue is my headers are too large which is causing Lucee to throw the error. This is caused by me having to write at least 69 cookies (As above I realize it is set to max at 200 in the Lucee config)
Changes that have been made are as follows
Change C:\lucee\tomcat\conf\server.xml
to (increasing to 65536)
Also in the same file increased to 65536
<Connector protocol="AJP/1.3"
port="8009"
secret="removedforsecurity"
secretRequired="true"
redirectPort="8443"
packetsize="65536" />
BonCodeAJP13.settings in C:\Windows folder added the line
<PacketSize>65536</PacketSize>
Once all of this was added I was able to get the site to work locally on port 8888, however, I am unable to get it to work beyond that, the same error/header restriction appears if I try to access it it publicly.
I have created some test code to just create a lot of cookies with UUID’s as the value. I tested how many cookies I could create before it failed. Although i got Lucee to create 182 with no issue, my site with 69 would not work, I don’t think there was more data, but perhaps other things were playing into the header size
Failed at
- local ACF x 280
- Server ACF x 280
- Server Lucee “OBJECT MOVED” at 183
This is a fresh install so I’ll need to take care of the above, but wondering if anybody might have any ideas on what else I should be changing, or perhaps I was doing it wrong.
Thanks