PHP

Redirect Http to Https in Codeignitor

First go to the application/config/config.php file and look for this line: $config['base_url'] = ""; Set it to your URL with the https e.g. https://example.com $config['base_url'] = "https://example.com"; Then go to your .htaccess file and add this line in the example given below. RewriteRule ^(.*)$ https://example.com/$1 [R,L] <IfModule mod_rewrite.c> #Options +FollowSymLinks #Options -Indexes RewriteEngine on Read more…

By Sahil Ahlawat, ago
PHP

How To Install Lamp On Ubuntu

A LAMP Stack is a set of open-source software that can be used to create websites and web applications. LAMP is an acronym, and these stackstypically consist of the Linux operating system, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language. To install LAMP on Computer follow below steps: Step Read more…

By Sahil Ahlawat, ago