Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_cfml checks uri rather than filename #37

Open
zspitzer opened this issue May 5, 2021 · 0 comments
Open

mod_cfml checks uri rather than filename #37

zspitzer opened this issue May 5, 2021 · 0 comments

Comments

@zspitzer
Copy link
Contributor

zspitzer commented May 5, 2021

mod_cfml doesn't trigger when a directoryIndex index.cfm directive is used, on a first request to just /, which ends up with the default welcome to lucee page on port 8888

the reason is it's checking the r->uri, as opposed to the actual file which is handling the request? i.e. r->filename

it works after any other request has triggered mod_cfml and tomcat knows about the context

https://github.com/viviotech/mod_cfml/blob/master/C/mod_cfml.c#L385

https://dev.lucee.org/t/mod-cfml-isnt-triggering-on-the-first-request/8263

It looks like we are almost doing more processing, to avoid adding the extra headers, than just adding the headers involves?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant