PDA

View Full Version : Css FIles and pre-installed apache woe..



Zero_1984
09-01-2004, 12:55 PM
hey all, another question relating to apache here..


basically, i know to put all websites into the /var/www/ directory so the pre installed apache can see the file and run it.. but ive seemed to come to a grinding hault because of my css sheet,which works under my windows version of apache...

ive noticed that any errors ive had with the linux version of apache have all been case sensetivity issues, which im guessing is due to the unix base.. which is fine, all fixed and well, but even still my css sheet isnt working.

this is a external sheet. and this is how i put it into my .php code.

<link rel="stylesheet" type="text/css" href="Tedley.css" />

this obviously doesnt work, i tried also typing

<link rel="stylesheet" type="text/css" href="/var/www/Tedley.css" />

and this ALSO didnt work.. so i guess my question is, am i sticking this in the wrong folder, or doing something wrong?! whats going on??? and if it is the wrong folder, where should i put it?

baldyeti
09-01-2004, 01:40 PM
Why should the 1st form obviously fail? If the case is correct, and your css is in your default site root, it should work. Have a look at apache's logs, or have a look at the response headers when accessing "http://localhost:/Tedley.css".