Periods in URL cause Railo Error
Asked Answered
A

1

1

The following link http://127. 0. 0. 1:8888/.../index.cfm causes an error in Railo's built in server.

Can anything be done to keep this from happening?

enter image description here

Aleph answered 25/10, 2013 at 16:3 Comment(2)
Why do you require such a url? You could address this with a web server rewrite rule also.Dynode
I don't require such a variable. I just want to make sure a that junk in the URL does not cause the page to crashAleph
F
2

You should be able to handle this by defining a onMissingTemplate function in your Application.cfc

Fortnightly answered 25/10, 2013 at 16:22 Comment(1)
So I would have to create an application.cfc above the share directory?Aleph

© 2022 - 2024 — McMap. All rights reserved.