• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can't find css, js and images when proxying

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using apache 2.0.59. I have the following in my httpd.conf. It did not display the page with css correctly along with missing images and js files. Can you tell me how to fix it please? How do we specify it so it will reference the images on the "tom" machine and not locally? I'm new to apache so if you can have sample code, I really appreciate it.

ProxyPass /rbs http://tom:14055/rbs
ProxyPassReverse /rbs http://tom:14055/rbs

access_log

10.68.26.77 - - [25/Feb/2008:14:56:32 -0800] "GET /rbs HTTP/1.1" 200 7972
10.68.26.77 - - [25/Feb/2008:14:56:33 -0800] "GET /rbs/css/aire.css HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:33 -0800] "GET /rbs/js/java.js HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:33 -0800] "GET /rbs/js/bss.js HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:34 -0800] "GET /rbs/js/findDOM.js HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:34 -0800] "GET /rbs/images/onepixel.gif HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:34 -0800] "GET /rbs/images/login_form_top.gif HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:34 -0800] "GET /rbs/images/login_form_bottom.gif HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:34 -0800] "GET /rbs/images/login_logo_top.gif HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:35 -0800] "GET /rbs/images/small_logo.jpg HTTP/1.1" 404 1214
10.68.26.77 - - [25/Feb/2008:14:56:35 -0800] "GET /rbs/images/login_logo_bottom.gif HTTP/1.1" 404 1214
[ February 25, 2008: Message edited by: King Dom ]
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
King Dom, please check your private messages. You can see them by clicking My Private Messages.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic