J
Jonathan N. Little
Larry said:httpd: Could not reliably determine the server's fully
qualified domain name,
using ::1 for ServerName
Because ::1 is not really a valid name. Just use a FQDN that is not
valid for hte internet so that your private server does not conflict
with any possible one online. Using a TLD of 'lan' or 'private' works.
Works well for local development mirrors of *real* live websites
www.example.com => online on live server
www.example.lan => offline on local lan
But I can identify either virtual host to Firefox and the correct
site comes up.
I'm sure I'll want to tune up the virtual host configurations, but
I have basic functionality, thanks to you.
This doesn't get the CSS working, but it is an improvement to my
configuration.
Very strange. This should work even with local files and no webserver
/* start of file named sample.css */
..special { color: red; }
/* end of file named sample.css */
<!-- start of file named sample.html -->
<html>
<head>
<title>A test</title>
<link rel="stylesheet" type="text/css" href="sample.css">
</head>
<body>
<p>This text should be black but change to <span class="special">
red where I have applied the class 'special'</span>. Now back to
black.</p>
</body>
</html>
<!-- end of file named sample.html -->
If both files sample.css & sample.html this should always work. The only
possible error is mime type text/css is not defined for css files, but
this was long ago should be defined in your config by default.