<div dir="ltr">Check the file and directory permissions? Make sure they are world-readable for files, and would read and execute for directories.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 2, 2022 at 5:49 PM Grand Rapids Linux Users Group <<a href="mailto:grlug@grlug.org">grlug@grlug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>I've got a new computer with Ubuntu 20.04. <br>
</p>
<p>Some of the files in my /var/www/html directory behave funny.
Many open fine in response to localhost/file.html or to
localhost/ericbeversluis, where ericbeversluis is, eg, a WP site
on my computer.</p>
<p>But some of the individual files behave strangely. When I try to
open them I get a 404, "Requested URL was not found on this
server." <br>
</p>
<p>I can't tell any difference between those that open and those
that don't. To further confuse me, when I click on the file in the
file browser, they open nicely in Firefox--as
<a>file:///var/www/html/file.html</a>. After that happens some then open
nicely in response to localhost/file.html.</p>
<p>Many of the file have traveled from an old Fedora box to the
webserver on a Macbook Pro to this new box. But that history
doesn't seem to correlate with the different behaviors.<br>
</p>
<p>Any insight into what's going on here?<br>
</p>
<div>-- <br>
Eric Beversluis
<a href="http://www.ericbeversluis.com" target="_blank">www.ericbeversluis.com</a>
Forthcoming: <i>For Love of a Father</i></div>
</div>
-- <br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org" target="_blank">grlug@grlug.org</a><br>
<a href="https://shinobu.grlug.org/mailman/listinfo/grlug" rel="noreferrer" target="_blank">https://shinobu.grlug.org/mailman/listinfo/grlug</a><br>
</blockquote></div>