برای برطرف کردن خطای "404 Not Found The requested URL /privacy_policy was not found on this server" در CentOS 7 شما میتوانید وارد فایل httpd.conf شوید و متغییر "AllowOverride None" را همانند زیر برابر با "All" قرار دهید. بخش <Directory "/var/www/html"> را پیدا کنید و همانند زیر AllowOverride را برابر با All قرار دهید.
بعدش سرویس آپاچی رو restart کنید.
کد PHP:
<Directory "/var/www/html">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# 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 All
#
# Controls who can get stuff from this server.