trouble accessing site on LAN - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5) +--- Thread: trouble accessing site on LAN (/showthread.php?tid=5311) |
trouble accessing site on LAN - Lucianp - 2013-10-26 I am using GS v3.2.3 and very pleased with it. My setup is XAMPP on Win 7 and I have no problems accessing my site on localhost, however, when I try to view the same site from another device on the LAN, I cannot access images, links or CSS. I just get text and broken links. I am using http//:192.168.x.x/mysite to access from the LAN. I searched the web thinking it mat be an XAMPP problem (and it might be) and some suggestion was made to relative links and localhost and that I should define HTTP_SERVER in a config file! In \etc\hosts, I added 192.168.x.x mysite but not sure where to define HTTP_SERVER (if, indeed, I need to). Does anyone have an XAMPP/W7 setup that works on their LAN, and if so could they please offer some direction. thank you. RE: trouble accessing site on LAN - shawn_a - 2013-10-26 Did you set your siteurl to ip and not local host? RE: trouble accessing site on LAN - Lucianp - 2013-10-26 Hi Shawn, where do you mean? I used GS and xampp straight out of the box so, no I have not set siteurl to anything. I am assuming siteurl is a variable? so I looked in gsconfig.php but there was nothing that resembled anything like. Not sure where I should be looking. thanks RE: trouble accessing site on LAN - shawn_a - 2013-10-26 settings page Website URL: should be ip RE: trouble accessing site on LAN - Lucianp - 2013-10-27 Hi Shawn, did you mean admin/settings.php? I looked in there and did not find the url or ip Sorry for being a numbskull thanks RE: trouble accessing site on LAN - Kolyok - 2013-10-27 I think shawn_a meant this: Website URL: change it to your lan ip like http://192.168.x.x/ Also add subfolder too if you installed GetSimple into a subfolder (like http://192.168.x.x/subfolder/). If you still cant access through lan then maybe your firewall (if you have one) is blocking it. Try to allow it. RE: trouble accessing site on LAN - Lucianp - 2013-10-27 Excellent. Thank you all. I knew it wasn't a firewall problem as I am on a single subnet. It was a relative link problem because I could access the site but not the css etc. Thank you all, your help was appreciated. |