Re: Apache serving a page that doesn't exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.iliffe@xxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux