Sounds like mod_negotiation / MultiViews. If you don't use it intentionally, `Options -MultiViews` in your DocumentRoot might help.
On Sat, Dec 3, 2022 at 3:36 PM John Iliffe <john.ili...@iliffe.ca> wrote: > > Apache 2.4.25 on a Fedora server. > > Due to an emergency I created an html page saying that a function was > unavailable. The old page (on the apache base directory) was page.php and the > emergency page was linked to that as page.php -> pagex.html. Worked > perfectly. > > Now the problem is resolved and I renamed the emergency page as > pagex.html.old, > a soft link to pagex.html -> page.php and the original page is back where it > used to be. > > If I request page.php I get it as expected BUT if I request pagex.html, which > no > longer exists, the SOURCE of pagex.html is displayed on the browser. I thought > this might be a browser cache issue so I rebooted the workstation and it still > happened. So I rebooted the server and the problem still exists. I checked > using ls -l page* and pagex.html does not exist. > > If I removed the pagex.html -> page.php link everything works properly but > some > customers have bookmarked pagex.html so I would like to have this link for > them. > > Any ideas of what I have forgotten? > > Thanks in advance. > > John > ====== > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > -- Eric Covener cove...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org