Re: [OT] two domains and one ip / apache [ css weirdness ]
Joris Lambrecht wrote:
> this is what i meant by verified to work ... i opened it directly in my
> browser ... no problem whatsoever
Yup, so the html's workable.
> original : does not work : intranet.css is at root of website (verified 10
> times)
("Original"?)
You're sure it's readable (to the webserver)?
By the way, does the website really have directories called
"htdocs/site/" *inside* the DocumentRoot?
> <head>
> <LINK REL="StyleSheet" TYPE="text/css" href="intranet.css">
> </head>
Looks okay - as long as the html and the stylesheet are in the same
directory. Otherwise you need to give a relative path. Or since
the css is in root, try href="/intranet.css", or even
href="http://servername/intranet.css".
(Oh, if and this is the <head> of your html, you haven't given it a
<title>.)
> apache : i've created a scope that runs all files as text/css : intranet.css
> is in /css (verified 10 times)
No idea what you mean by this - apache doesn't need any
reconfiguring to serve css. It might even have broken something.
> <head>
> <LINK REL="StyleSheet" TYPE="text/css" href="css/intranet.css">
> </head>
This one'll work if there's a readable intranet.css in a readable,
executable css subdirectory of the html file's location.
> The text should render als helvetica but the output is times new roman,
> opening the page without using apache (file - open ...) uses the style sheet
What exactly is it you're trusting the reactions of here? Would it
happen to be Internet Explorer?
--
Justin B Rye - writing from but not for Datacash Ltd
Reply to: