Nginx vs Apache
I recently added nginx as front end for apache. Now nginx serve static content, PHP requests are peroxided to Apache. Nginx frontend,…
I recently added nginx as front end for apache. Now nginx serve static content, PHP requests are peroxided to Apache. Nginx frontend,…
I want to limit access to admin login url of a web application to specified IP address. The web site had admin…
On a cpanel server, i need to run a web application using docker container. Application running side docker container listening on port…
ab is a tool for benchmarking web servers. It is designed to give you an impression of how your web server installation…
On Ubuntu 18.04 server, apache crashed. On checking apache error log, found following [Mon Aug 13 23:19:24.625927 2018] [mpm_prefork:emerg] [pid 2378] (43)Identifier…
To limit access to a folder using .htaccess, create .htacess file with following content. YOUR_IP_HERE = Replace it with your actual IP.…
Today i moved a high traffic WordPress web using from Apache + PHP 5 to Nginx + PHP 7.2. Here is a…
On Ubuntu, to execute .htm files as PHP, create file vi /etc/apache2/conf-enabled/php-html.conf Add following content SetHandler application/x-httpd-php This is similar code from…
Here is a non-SSL Apache virtual host. To convert it to SSL VirtualHost, first change the port to 443 Find Replace with…
On a new Debian server with Apache, web site give 500 internal server error. On checking error log, i found [Thu Jan…
Limit Access Using htaccess Apache Limit access to a url Disable PHP on a folder How to protect .git folder using htaccess…
On a newly installed Apache server, when I visit the website, I get permission denied error. On Apache error log (/var/log/httpd/error_log), i…