You may request notification for LAMS not serving CSS to clients on LAN?. |
1:
LAMS not serving CSS to clients on LAN?
By: Barry Kayton
|
10/07/07 09:35 AM | |||
Hi
I'm running LAMS 2.0.4 on a MacBook Pro with MacOS 10.4.10. LAMS on the notebook itself runs perfectly in every way. I can author, monitor, etc. But if I try to connect to LAMS using another computer on my LAN the pages appear as text only (no images and no CSS applied). Looking at the login page source on a client computer I see that "localhost" appears often where I think an IP address should be. For example: http://localhost:8080/lams/css/defaultHTML.css I guess this explains why LAMS runs fine on the Macbook, but serves pages unformatted to clients on the LAN. So my question is: How do I fix this? I tried editing the lams.properties file in /etc/lams2... I changed the server URL as follows to include the IP address of the Macbook hosting LAMS: SERVER_URL=http://192.168.1.185:8080/lams/ I then stopped LAMS and restarted it. But this didn't fix the problem. Is there something else I should change? Or must I reinstall LAMS? Or both? Thanks South Africa Posted by Barry Kayton |
|
||||||||||
|
||||||||||
|
Reply to first post on this page
Back to Problems Installing LAMS