Re: [us...@httpd] mod_proxy: CSS & JavaScript not loaded

2009-04-28 Thread John Ruffin
On Tue, Apr 28, 2009 at 7:54 AM, John Ruffin wrote: > Thanks Andre! I noticed after I sent the post that I'm getting a 404 in > the html where the browser has tried to get the javascript. 404 because the > application name has been pre-pended to the front of the URL twice. I'm not > clear on h

Re: [us...@httpd] mod_proxy: CSS & JavaScript not loaded

2009-04-28 Thread John Ruffin
Thank Andre! I noticed after I sent the post that I'm getting a 404 in the html where the browser has tried to get the javascript. 404 because the application name has been pre-pended to the front of the URL twice. I'm not clear on how/why this happens. See snippet below: 1A</span> </blockquote><br> <h3><span class=subject><a href="/users@httpd.apache.org/msg35127.html">Re: [us...@httpd] mod_proxy: CSS & JavaScript not loaded</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=users%40httpd.apache.org&q=date:20090428&o=newest">2009-04-28</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=users%40httpd.apache.org&q=subject:%22%5C%5Bus...%40httpd%5C%5D+mod_proxy%5C%3A+CSS+%5C%26+JavaScript+not+loaded%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=users%40httpd.apache.org&q=from:%22Andr%C3%A9+Warnier%22&o=newest">André Warnier</a></span> </div> <blockquote><span class="msgFragment"> John Ruffin wrote: ... Hi. My suggestion : first turn off the proxy html stuff and try to see what exactly is happening, from the browser's point of view. Do the following, systematically : - access one of your pages - note the URL (in the URL bar of the browser) that was used to access that pa</span> </blockquote><br> <h3><span class=subject><a href="/users@httpd.apache.org/msg35120.html">[us...@httpd] mod_proxy: CSS & JavaScript not loaded</a></span></h3> <div class="darkgray font13"> <span class="sender pipe"> <span class=date><a href="/search?l=users%40httpd.apache.org&q=date:20090427&o=newest">2009-04-27</a></span></span> <span class="sender pipe"> <span class=thead><a href="/search?l=users%40httpd.apache.org&q=subject:%22%5C%5Bus...%40httpd%5C%5D+mod_proxy%5C%3A+CSS+%5C%26+JavaScript+not+loaded%22&o=newest">Thread</a></span></span> <span class=name><a href="/search?l=users%40httpd.apache.org&q=from:%22John+Ruffin%22&o=newest">John Ruffin</a></span> </div> <blockquote><span class="msgFragment"> Working on a MacBook Pro with Mac OS X 10.5.6, I have an app that runs fine on Tomcat standalone. But when I turn Apache on and proxy it to Tomcat the RichFaces CSS and JavaScript are not loaded. Initially, my specific CSS is loaded but if I click on a link then "all" CSS and JS are lost on subse</span> </blockquote><br> <h2></h2> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <h2>4 matches</h2> <br> <ul><li><a href="/search?l=users%40httpd.apache.org&q=subject%3A%22%5C%5Bus...%40httpd%5C%5D+mod_proxy%5C%3A+CSS+%5C%26+JavaScript+not+loaded%22&a=1&o=newest">Advanced search</a></li></ul> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="users@httpd.apache.org"> <label class="hidden" for="q">Search the list</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search users" value="subject:"\[us...@httpd\] mod_proxy\: CSS \& JavaScript not loaded""> <input class="submitbutton" id="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <h2 class="hidden"> Site Navigation </h2> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"> <a href="/users@httpd.apache.org" title="c" id="c">users - all messages</a></li> <li class="icons-about"> <a href="/users@httpd.apache.org/info.html">users - about the list</a></li> <li class="icons-expand"><a href="/search?l=users%40httpd.apache.org&q=subject%3A%22%5C%5Bus...%40httpd%5C%5D+mod_proxy%5C%3A+CSS+%5C%26+JavaScript+not+loaded%22&o=newest&f=1" title="e" id="e">Expand</a></li> </ul> </div> <div class="listlogo margintopdouble"> <h2 class="hidden"> Mail list logo </h2> </div> </div> <div class="footer" role="contentinfo"> <h2 class="hidden"> Footer information </h2> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> </ul> </div> <script language="javascript" type="text/javascript"> document.onkeydown = NavigateThrough; function NavigateThrough (event) { if (!document.getElementById) return; if (window.event) event = window.event; if (event.target.tagName == 'INPUT') return; if (event.ctrlKey || event.metaKey) return; var link = null; switch (event.keyCode ? event.keyCode : event.which ? event.which : null) { case 69: link = document.getElementById ('e'); break; } if (link && link.href) document.location = link.href; } </script> </body> </html>