Apache serving a page that doesn't exist

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

 



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





[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