-
Junior Member
registered user
Css FIles and pre-installed apache woe..
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.
Code:
<link rel="stylesheet" type="text/css" href="Tedley.css" />
this obviously doesnt work, i tried also typing
Code:
<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?
-
Senior Member
registered user
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".
Similar Threads
-
By tr in forum Customising & Remastering
Replies: 0
Last Post: 10-03-2005, 08:50 AM
-
By Guider in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 01-18-2005, 01:22 AM
-
By jpiranha in forum Networking
Replies: 2
Last Post: 10-04-2004, 01:57 AM
-
By Zero_1984 in forum Networking
Replies: 1
Last Post: 09-01-2004, 03:49 AM
-
By Xwrapper3 in forum General Support
Replies: 1
Last Post: 07-16-2004, 10:34 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

Gigabyte Z390 UD LGA 1151/SOCKET H4, Intel Motherboard *USED*
$50.00

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99

MSI B460M-A Pro DDR4 LGA 1200 Micro ATX Motherboard 10th Gen
$59.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P
$101.99

GIGABYTE X570 UD AM4 motherboard +AMD Ryzen 9 3900x CPU+Cooler
$250.00

Dell Precision 3650 Tower Intel LGA 1200 DDR4 Desktop Motherboard NDYHG
$59.99