New LAMP server, all links redirecting to localhost

Posted by serilain on Server Fault See other posts from Server Fault or by serilain
Published on 2012-10-22T22:19:30Z Indexed on 2012/10/22 23:04 UTC
Read the original article Hit count: 400

Filed under:
|

I've got a very frustrating issue with what should be a bespoke install of Ubuntu 12.04, the LAMP config provided in apt-get install lamp-server^, and a web application called The Fascinator.

After installing those three things and making no changes to any of them, I can access the application through a public IP (http://lib-hf1.lib.sfu.ca:9997 for the curious), but the domain of every link within that page is changed to localhost, including links to images and CSS, so nothing loads correctly and all of the links are broken.

I've Googled around and found some people who appear to be having this issue with WP and Drupal, but nothing makes reference to a system-wide setting, and no one using the Fascinator seems to be having this issue. I have a faint memory that this might have something to do with mod_rewrite, but I'm pretty well stumped.

© Server Fault or respective owner

Related posts about lamp

Related posts about localhost