I have Lucee working with a basic test page, however I cannot get the admin page to accept the password.txt - nothing happens, so the admin is unusable and hence so is Lucee!
There are no errors in apache, tomcat or lucee logs (or javascript console).
I am using Tuckey urlrewriter which shows successful pass-through in catalina log
20-Apr-2022 18:26:45.124 INFO [ajp-nio-127.0.0.1-8009-exec-8] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.UrlRewriter DEBUG: processing request for /lucee/form.cfm
20-Apr-2022 18:26:45.124 INFO [ajp-nio-127.0.0.1-8009-exec-8] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.RuleBase DEBUG: RULE: ignore lucee/form.cfm (rule 0) run called with /lucee/form.cfm
20-Apr-2022 18:26:45.125 INFO [ajp-nio-127.0.0.1-8009-exec-8] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.RuleBase DEBUG: matched âfromâ
20-Apr-2022 18:26:45.125 INFO [ajp-nio-127.0.0.1-8009-exec-8] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.RuleBase DEBUG: âtoâ is â-â, no substitution, passing through URL
20-Apr-2022 18:26:45.125 INFO [ajp-nio-127.0.0.1-8009-exec-8] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.RuleExecutionOutput DEBUG: needs no substitution
20-Apr-2022 18:26:45.125 INFO [ajp-nio-127.0.0.1-8009-exec-8] org.apache.catalina.core.ApplicationContext.log org.tuckey.web.filters.urlrewrite.UrlRewriter DEBUG: rule is last
Iâm a little confused by what you mean here. Are you seeing the login page which tells you to create the password.txt file or are you not even able to see that? Where are you placing the file? When you say ânothing happensâ, thatâs in response to⌠what? Like, what specific URL are you hitting and what is a screen shot of that you see on that page? Are you clicking buttons? Iâm just not following.
I installed Lucee got a cfml test page working I then went to admin page says I need to put password.txt in /lucee-server/context/password.txt, did that and tried again.
I always use a FQDN and as I said before there are no errors in the logs.
The login page appears perfectly with the message that I need to install the password.txt.
If you look at the logs you will see that the page just redirects back to itself when the import button is clicked.
the url:
https://************.com/lucee/admin/server.cfm?action=overview
Ok, I can tell what youâre doing wrong. Take a good hard look at the folder you placed the file in and compare that to the folder you were instructed to place the file in. See the difference? Also, including these details in the first message would have speeded this along
@BlackEnder: Check your OS file viewing setting. Iâm pretty sure that it is omitting the file extension, thus, you wonât see any of the â.txtâ. If the OS is set to omit the extension and you are adding â.txtâ, youâll be creating a file named âpassword.txt.txtâ, with only âpassword.txtâ being shown. Check and change the omitting file extension functionality of your OS.
I tried the password.txt for 30 minutes. it was not working. And then i switch to the password-file with a different passwordtext.
When i tried it with the password-file with also a different word as text it worked.
I just checked the filename. You are correct. it was password.txt.txt
so many dumb defaults in windows! what i hate the most is testing the windows installer using windows sandbox with all the silly defaults in 11 like the context menu without even cut n paste
Zack, you may know this but Iâll point out for those who donât: when in Windows 11 it seems the copy/paste options are NOT there in the context menu (like in the Windows File Explorer), look for them now as icons at the bottom or top of the list of options. This is someoneâs idea of improvement.
I mostly just use keyboard shortcuts so donât even notice it, but in my consulting doing screenshares all day with folks, I often help them deal with such changed behavior.
And there are ways to alter it (such as via registry tweaks), but in my cf/lucee troubleshooting consulting such problems like these are not my clientâs focus, so I offer the quick solution and we move on. A Google search will find both such âsolutionsâ to this and plenty of discussion about how annoyed many people are with it, as the Windows UI evolves (in competition with MacOS, etc.)