Skip to content

The System Admin’s Blog

Category Archives: Apache/PHP

Redirect HTTP to HTTPS

Its important to have your site running with HTTPS i.e secure HTTP connection.It helps in securing your site as well as SEO point of view. If we have root access to your server and can edit Apache configuration file the the simplest method is to add below lines to your virtualhost configuration.

Posted bythesysadminOctober 12, 2019June 24, 2020Posted inApache/PHPTags: Apache, htaccess, https redirectLeave a comment on Redirect HTTP to HTTPS

Running PHP-FPM with Apache2.4/mod_proxy_fcgi

Apache2.4 does not support mod_fastcgi, the alternate option is to run php-fpm with mod_proxy_fcgi. On Ubuntu you need to enable mod_proxy and mod_proxy_fcgi. We can now configure apache to run php-fpm as below

Posted bythesysadminOctober 11, 2019June 24, 2020Posted inApache/PHPTags: Apache, php-fpmLeave a comment on Running PHP-FPM with Apache2.4/mod_proxy_fcgi

Recent Posts

  • Python django with Apache mod_wsgi
  • Calculate MySql database and table size
  • Linux Cheat sheet
  • RDS Mariadb Grant All permission access denied for user
  • LetsEncrypt SSL Certificate with AWS Route53 DNS using certbot-dns-route53

Recent Comments

  • mike on Installing Munin on Ubuntu 20.04 with MySQL plugin

Archives

  • August 2021
  • December 2020
  • October 2020
  • September 2020
  • August 2020
  • June 2020
  • February 2020
  • January 2020
  • December 2019
  • October 2019
  • September 2019

Categories

  • Apache/PHP
  • Apache/Python
  • AWS
  • AWS RDS
  • AWS Route53
  • AWS Transcoder
  • firewall
  • LetsEncrypt
  • Magento
  • Munin
  • MySQL
  • Postfix
  • Tomcat
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
The System Admin’s Blog, Proudly powered by WordPress.