Trying to set up first simple website. I have read through forums. I have so far made the situation worse by trying to change permissions. The site works fine on localhost and on my local webserver.
Initially I was getting the following error for the CSS but all of the images were loading properly.
---.---.--.---/:12 GET http://---.---.--.---/css/styles_hw1e.css net::ERR_ABORTED 404 (Not Found)
Where the IP was for the hosting service.
The HTML head is as follows:
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Replace this with your own information -->
<meta name="author" content="" />
<title>H</title>
<link type="text/css" rel="stylesheet" href="./css/styles_hw1e.css" />
<style>
table, th, td
{
border: 1px solid black;
border-collapse: collapse;
}
</style>
</head>
I have tried using the following thread to resolve, but now have successfully messed up my ftp permissions.
ERROR 403 in loading resources like CSS and JS in my index.php
and
Current permissions for www are
permissions for html are as follows:
could someone point me to a good tutorial on permission for linux/Apache web server or other suggestion on how to resolve? I getting ready to just rip everything out and start over.
Thanks in advance for any help