Hi list, I am running into some very weird problems which I can't explain. I am running apache 1.3.14, jrun 3.0 on solaris 8. I have this app which only contains jsp code - it is mapped to this url: /version1/jsp All the html and images are placed in a separate folder (outside of jrun) that is supposed to only be handled by apache. That folder is reached through the alias /version1 Given this setup, I am able to use relative urls in my code and still keep images and jsp separate. So, on a jsp page I can do something like ../img/main.gif which translates into /version1/img/main.gif (which is my html and image folder). Fine. Everything works as expected. However, the problem is that apache, whenever it sends stuff out of the /version1 folder, it always somehow contacts jrun. The reason I'm saying this is that apache always sends back a '200' http header which is typical of jrun (which is known not to do 304 - not modified). This is a pretty big problem given that all my images, html, css files are always downloaded over and over by users. Now, if I change my html and image alias to something like /static, I am able to get my 304 headers and apache works the way it should. However, if I do this, I can't use the relative paths in my code anymore and I would like that too. I have a feeling that apache somehow gets confused with jrun because /version1 is a substring of /version1/jsp which is the mapping for a valid jrun app. Two more details: the jrun app has use-webserver-app=true and this exact scenario works fine on IIS on windows nt (304 headers and all). Is this possible on solaris with apache? Am I just out of luck here? Do I need to go to totally separate urls for jsp and html? Somebody please help. I know there has been lots of talk about how jrun handles these mappings but I have not seen anything like this yet. Thanks in advance. Cristian Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
