If you are using Apache 2.4
You have to check allow and deny rules
Check out http://httpd.apache.org/docs/2.4/upgrading.html#access
In 2.2, access control based on client hostname, IP address, and other characteristics of client requests was done using the directives Order, Allow, Deny, and Satisfy.
In 2.4, such access control is done in the same way as other authorization checks, using the new module mod_authz_host.
The new directive is Require:
2.2 configuration:
Order allow,deny Allow from all
2.4 configuration:
Require all granted
Also don’t forget to restart the apache server after these changes (# service httpd restart
)
Related Posts:
- Site does not exist error for a2ensite
- currently unable to handle this request HTTP ERROR 500
- How can I use an .htaccess file in Nginx?
- .htaccess redirect http to https
- 404 Not Found The requested URL was not found on this server
- What is the difference between Local Server and a Web Server?
- How to run php files on my computer
- Whats the point of running Laravel with the command ‘php artisan serve’?
- keep getting “? Something is already running on port 3000” when I do npm start on react app
- Localhost is not working
- flash builder web.xml matter after using RDSDispatchServlet
- PHP $_SERVER[‘HTTP_HOST’] vs. $_SERVER[‘SERVER_NAME’], am I understanding the man pages correctly?
- Heroku giving 500 error with little information + Internal Server Error
- Minecraft Server closes immediately after running?
- SVN Error E175002 while checking out code from repository
- XAMPP, Apache – Error: Apache shutdown unexpectedly
- htaccess – Redirect to subfolder without changing browser URL
- Enable PHP Apache2
- How do I automatically restart a Minecraft Spigot server in the event of a crash or /stop when using screen?
- client denied by server configuration
- What is HTTPD exactly?
- XAMPP: Connecting to localhost fix? [Persistent]
- Request exceeded the limit of 10 internal redirects due to probable configuration error
- How do you redirect HTTPS to HTTP?
- npm WARN enoent ENOENT: no such file or directory, open ‘C:\Users\Nuwanst\package.json’
- Adding a user on .htpasswd
- Only variable references should be returned by reference – Codeigniter
- purpose of Funnel in NiFi
- a2enmod command not found in apache server using cpanel in linux vps
- How do I disable directory browsing?
- CodeIgniter removing index.php from url
- Error:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
- Apache and Node.js on the Same Server
- Exception in thread “main” java.net.ConnectException: Connection refused: connect Socket Programming Java
- Apache is downloading php files instead of displaying them
- lbmethod_heartbeat:notice – No slotmem from mod_heartmonitor –error after installing apache2.4.2 [closed]
- Difference between Systemctl and service command
- ipconfig in command it shows “ipconfig is not recognized as internal or external command””
- “End of script output before headers” error in Apache
- XAMPP installation on Win 8.1 with UAC Warning
- What is the difference between Apache kafka vs ActiveMQ
- Getting the screen resolution using PHP
- org.apache.jasper.JasperException
- Https to http redirect using htaccess
- WAMP won’t turn green. And the VCRUNTIME140.dll error
- .htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration
- PHP code is not being executed, but the code shows in the browser source code
- WordPress get_template_directory_uri() not returning https and only return http
- Data is not constantly loading from custom wordpress table
- What are PHP extensions and libraries WP needs and/or uses?
- Steps to optimize WordPress in regard to server load and website speed?
- WAMP vs XAMPP pros/cons – for running a local testing server [closed]
- Multiple developers / editors working on a site in progress
- Can WordPress be made to support websockets?
- No Thumbnails Generated
- Moved WordPress to New Server, Now Tries to Download a File
- Upload images to remote server
- Restricting a Plugin to Only Load its CSS and JS on Selected Pages?
- Optimize apache for WP use
- WordPress local development environment [closed]
- How to fix wordpress slow first time load (Local Server)?
- Can you host WordPress using Amazon Web Services such as EC2, RDS, EBS etc?
- In which directory do I find the HTML file of my wordpress pages?
- Can you have a blog in a subdirectory hosted on a different server?
- Is it safe to use $_SERVER[‘REQUEST_URI’]?
- Character encoding issue after changing servers
- How do I get the right permissions for WordPress running Apache on Debian
- Update, add, remove plugins, themes or wordpress behind load balancer
- How can I improve site/page performance of WordPress websites?
- How to monitor server for error establishing a database connection
- Multisite behind Varnish
- WordPress .htaccess subdirectory problem
- Implement ssl to a WP docker container [closed]
- How to properly secure my WordPress installation?
- What are best practices for configuring a server for WordPress sites?
- security+best practices: root or www-data on a wordpress content folder?
- Can’t login after my site was moved to a new server
- WordPress keeps asking for connection information in localhost
- Split WP install between 2 databases?
- Apache/Linux configuration changes to make automatic upgrade more straightforward
- Moving my current wordpress blog to a subdomain
- Shortest possible shell script to install WordPress on Nginx server?
- Specific URL has 403 Forbidden status code
- Best practices for making a WordPress site “movable”?
- WordPress V2 REST-API: Endpoints 404?
- How to? Redirect /category/sci-fi/ to /category/scifi/?
- Testing local server with MAMP/wordpress on mobile device? [closed]
- W3 Total Cache doesn’t detect memcached [closed]
- How to configure self hosted wordpress so that everything can be upgraded/installed from dashboard
- Moving a WordPress site to a new server
- Installing WordPress in a Sub-Folder (not in root) on Localhost
- Arabic Characters in URL returns 404 Error
- WordPress plugin search does not work and updates are not shown, VPS install
- moving server can not login
- Testing Multisites with vagrant or Can I use multisite with only an IP address (without domain name)
- Is there a way to measure server resource (CPU) usage by WP plugins?
- 418 header status, I’m a teapot [closed]
- Error establishing a database connection After Copy localhost wordpress site (with site url directly to hosting server’s url before copy)
- Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- WordPress multisite causing Error 101 (net::ERR_CONNECTION_RESET): Unknown error [duplicate]