BradC87 Posted March 8, 2013 Share Posted March 8, 2013 Ok, What I have is an apache web server, serving a site at www.example.com I have set up a subdomain with my dns provider that is sb.example.com Using apache mod_proxy I am pointing sb.example.com at a second, internal webserver that is hosting a sickbeard client on 192.168.0.102:8081/home. It is accessible and visible on my home network. The site loads, but without any images, and non working links. I have tried to resolve this by googling.. but im getting stuck. Here is my access log, where you can see the server looking locally for the images, but not finding them. 74.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/lib/jquery.selectboxes.min.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/lib/jquery.tablesorter-2.1.19.min.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/lib/jquery.tablesorter.widgets.min.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/lib/jquery.qtip-2012-04-26.min.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/lib/jquery.expand-1.3.8.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/lib/jquery.pnotify-1.2.0.min.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/lib/jquery.form-2.92.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/lib/jquery.scrolltopcontrol-1.1.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/browser.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/ajaxNotifications.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /js/tableClick.js?1828 HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /images/sickbeard.png HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /images/glyphicons-halflings.png HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /images/menu/system18.png HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /images/paypal/btn_donate_LG.gif HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /images/bg.png HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /images/yes16.png HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:17 -0500] "GET /images/no16.png HTTP/1.1" 404 122274.115.192.4 - - [08/Mar/2013:14:30:18 -0500] "GET /images/ico/favicon.ico HTTP/1.1" 404 108374.115.192.4 - - [08/Mar/2013:14:30:24 -0500] "GET /images/glyphicons-halflings-white.png HTTP/1.1" 404 1222[/CODE] Here is my vhosts entry for the server... where Am I going wrong? [CODE]<VirtualHost *:80> ServerName sb.anymity.com ProxyPass /home http://192.168.0.102:8081/home ProxyPassReverse /home http://192.168.0.102:8081/home ProxyHTMLEnable On #ReWriteEngine On #RewriteRule ^(/home/.*) http://192.168.0.102:8081$1 ProxyHTMLURLMap http://192.168.0.102:8081/home / #ProxyHTMLLogVerbose On #LogLevel Info</VirtualHost>[/CODE] Link to comment Share on other sites More sharing options...
Stephen Veteran Posted March 8, 2013 Veteran Share Posted March 8, 2013 I'm no expert at apache, but I looks like you would need some kind of rewrite rule enabling. at the moment it looks like your only redirecting /home to your second webserver, really you want to redirect * to it. Link to comment Share on other sites More sharing options...
BradC87 Posted March 8, 2013 Author Share Posted March 8, 2013 Could you recommend syntax? I am pretty new to this Link to comment Share on other sites More sharing options...
Recommended Posts