Hey Alan,
When you call the index.html file, is index.html actually in the URI? I
don't see anything at all in your mappings that would be causing Apache
to pass the request off to Tomcat.
Do you maybe have rewrites or some other rules in place that would
change the URI in any way? Strange!
Warm Regards,
Jordan Michaels
On 12/13/2012 07:33 AM, [email protected] wrote:
Hi all,
I have something very strange going on, was hoping someone may be able
to point me in the right direction.
Behavior:
I have index.cfm in application root folder. Two sub-folders down I have
a static index.html. Like so:
root / index.cfm
root / subfolder1 / subfolder2 / index.html
When I bring up the index.html in a browser - the root / index.cfm is
processing and returning to the browser (only all the image src is wrong
because they are relative and the images folder is off the root). I have
tried to restart the server. I have tried to rename the file to
index.htm - same behavior. I have copied the file to test.html - works
fine - html file returned.
I removed the index.html and index.htm from apache DirectoryIndex
command (only have index.cfm now). I cannot figure out why apache is
passing the request for an html page to the tomcat/openbd server. And
even if it did - why in the world would it process the root index.cfm
instead of processing the actual html page requested (harmlessly because
there is no CF in that page)?
I use the vivioTech installer on linux. So that's a single install with
tomcat and apache. I use the jk_module to communicate between apache and
tomcat/openbd. Here is the httpd.conf lines pertaining:
<IfModule mod_jk.c>
JkMount /*.cfm ajp13
JkMount /*.cfc ajp13
JkMount /*.do ajp13
JkMount /*.jsp ajp13
JkMount /*.cfchart ajp13
JkMount /*.cfres ajp13
JkMount /*.cfm/* ajp13
JkMount /*.cfml/* ajp13
JkMountCopy all
JkLogFile /var/log/httpd/mod_jk.log
</IfModule>
Any direction or thoughts would be greatly appreciated.
Thanks,
Alan
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en