coldfusion.runtime.TemplateNotFoundException: File not found: /loginform.cfm
Good morning,
I have a centOS 7 server, running ColdFusion 2018 Enterprise, using Apache and using Plesk Obsidian. I am having an issue navigating to my login page when my coldfusion files are in a certain diretory, httpdocs. In plesk, when I create a domain, and then a subdomain and place my files in the root of the subdomain, I have no issues getting to my login page, directory: var/www/vhosts/example.com/utexample.example.com. However, when I create a single domain, place my cfm files in the httpdocs folder within the domain created (var/www/vhosts/example.com/httpdocs), I get an error when attempting to navigate to the website:
coldfusion.runtime.TemplateNotFoundException: File not found: /loginform.cfm
Working web application: r1gup.egtyctest.com
Erroring out web application: utgup2.egtyctest.com
I have checked all folder permissions and everything seems fine on that end. I do have a custom server.xml file that I am using with below Context and Resources values:
<Context WorkDir="/opt/coldfusion2018/cfusion/runtime/conf/Catalina/localhost/tmp" docBase="/var/www/vhosts" path="">
<Resources>
<PreResources base="/opt/coldfusion2018/cfusion/wwwroot/CFIDE" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/CFIDE"/>
<PreResources base="/opt/coldfusion2018/cfusion/wwwroot/WEB-INF" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF"/>
<PreResources base="/opt/coldfusion2018/cfusion/wwwroot/cf_scripts/scripts" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/_cfform$
<PreResources base="/opt/coldfusion2018/cfusion/wwwroot/cf_scripts" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/cf_scripts"/>
</Resources>
</Context>
Any insight will be greatly appreciated to help me resolve this issue.
Thanks,
Daniel
