[GRLUG] Strange behavior with /var/www/html/

Grand Rapids Linux Users Group grlug at grlug.org
Wed Nov 2 17:49:27 EDT 2022


I've got a new computer with Ubuntu 20.04.

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.

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."

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 file:///var/www/html/file.html. 
After that happens some then open nicely in response to localhost/file.html.

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.

Any insight into what's going on here?

-- 
Eric Beversluis www.ericbeversluis.com Forthcoming: /For Love of a Father/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://shinobu.grlug.org/pipermail/grlug/attachments/20221102/2d87600d/attachment.htm>


More information about the grlug mailing list