Header Shadow Image


Error client Files Does Not Exist: 404 Not Found Page

While setting up my LAMP configuration on my HTPC, I get this error while trying to replicate my hosting environment for a future site upgrade:

[error] [client ::1] File does not exist: /var/www/html/wp/download-rpm-package-using-yum-without-installing, referer: http://localhost/wp/
[error] [client ::1] File does not exist: /var/www/html/wp/how-to-find-the-mac-address-of-an-ethernet-or-wireless-card, referer: http://localhost/wp/

No matter what I tried, I couldn't get the links to work getting a 404 Not Found instead:

Not Found

The requested URL /wp/how-to-find-the-mac-address-of-an-ethernet-or-wireless-card/ was not found on this server.

Turned out I needed a one simple directive in the /etc/httpd/conf/httpd.conf Apache config file:

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
    AllowOverride None

and change it too:

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#

#    AllowOverride None
    AllowOverride All

restart HTTPD (service httpd restart) and your permalinks in wordpress should work just fine again.

Cheers,
TK

Subscribe
Notify of
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

     
  Copyright © 2003 - 2025 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License

 

0
Would love your thoughts, please comment.x
()
x
The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.