2:
Re: LAMS not serving CSS to clients on LAN?
By: Fiona Malikoff
|
In response to 1 | 10/07/07 05:35 PM | ||
You were right in your guess that it is the server URL that is the problem. You shouldn't need to reinstall LAMS, nor should you need to change anytihng else.
If you have the serverURL set to "http://192.168.1.185:8080/lams/" and access LAMS on the client computer as "http://192.168.1.185:8080/lams/" then you should get it nicely formatted, not as text only. You don't even need to restart LAMS to get the effect - logging out and logging in again pick up a serverURL change. So I'm a bit puzzled on that one. 192.168.1.185 is a local address, so people wouldn't be able to access it externally, but you are on a LAN. And if they couldn't access the Macbook as 192.168.1.185 then they wouldn't even be able to log in. Can you try it again from a client and check the source of a page, and confirm that the src has "http://192.168.1.185:8080/lams/css/defaultHTML.css" and you haven't had a whitespace character creep in on the end of the server URL somehow. Then try accessing the actual stylesheet from the client computer ie paste http://192.168.1.185:8080/lams/css/defaultHTML.css into the URL box and see if the stylesheet loads. If it doesn't load, what error do you get? Also try accessing one of the images e.g. http://192.168.1.185:8080/lams/images/css/lams_login.gif. Do you get the image - it should be the big LAMS logo from the login page. Fiona Posted by Fiona Malikoff |
|
||||||||||
|
Reply to first post on this page
Back to Problems Installing LAMS