File Not Found Error on Fresh MX7 Installation
After spending days getting CFMX 7.0.2 installed on a CentOS5.3 (production) server running Apache 2.2.3 and WHM/cPanel 11, by religiously following Bill Mitchell's lifesaving guide, CF is up and running but I cannot access the administrator or anything else in user public_html directories.
If I place a simple foo bar test file in the /usr/local/apache/htdocs/testfile.cfm directory, I can call it at http://[IPaddress]/testfile.cfm and it parses properly.
However, if I place the same file at /home/cfusion/public_html/testfile.cfm and call it at http://[IPaddress]/~cfusion/testfile.cfm, I get a CF-generated 404 "File Not Found" error.
cfusion is a cPanel account I created via WHM prior to installing ColdFusion as a repository for my CFIDE directory.
If I place a symlink for /usr/local/apache/htdocs/CFIDE -> /home/cfusion/public_html/CFIDE:"File Not Found". If I cp -R my CFIDE into htdocs: "File Not Found." These files are physically there. I can easily verify that of course. But CF is still saying File Not Found. In fact, if I disconnect Apache - JRun, Apache finds the files all by itself no problem. They are definitely there.
I thought this might be a permissions issue, but all my .cfm files are nobody:root 775.
Here's what I'm seeing in the exception.log:
coldfusion.runtime.TemplateNotFoundException: File not found: /~cfusion/filetest.cfm
at coldfusion.filter.PathFilter.invoke(PathFilter.java:83)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
I guess maybe I need to know where the config for webroots is set from the CF/JRun perspective? I'm a decent hand with web server admin stuff, but despite being a CF dev for 10 years, CF admin stuff is still a bit over my head. Any help would be GREATLY appreciated. I'm at my wit's end!