Home > HTTP Apache

HTTP Apache

Redirect your wordpress site from http to https using .htaccess rule

apache

Once you have added an SSL certificate to your domain, the next thing that needs to configure your site is to forcefully redirect from HTTP to HTTPS. If your site has been configured using WordPress, then you can do the required changes using the .htaccess file. .htaccess file is located at the main directory of the WordPress project, ie; in ... Read More »

How to install HTTP Apache, MySql, PHP, PhpMyAdmin from source-Part 2

apache

Install HTTP Apache from source 1. Download source mysql-5.6.24-linux-glibc2.5-x86_64.tar.gz from http://dev.mysql.com/downloads/mysql/ 2. Copy the downloaded file to folder where you want to install MySql, for my case I copied in /opt/soft-install/ directory 3. Extract the file at this location, command to extract cp -av mysql-5.6.24-linux-glibc2.5-x86_64.tar.gz /opt/soft-install/ tar -zxvf mysql-5.6.24-linux-glibc2.5-x86_64.tar.gz mv mysql-5.6.24-linux-glibc2.5-x86_64 mysql-5.6 4. Go to the bin directory of the ... Read More »

How to install HTTP Apache, MySql, PHP, PhpMyAdmin from source-Part 1

apache

How to install HTTP Apache, MySql, PHP, PhpMyAdmin from source Install HTTP Apache from source 1. Download source httpd-2.2.29.tar.gz from http://httpd.apache.org/download.cgi2. Copy the downloaded file to folder where you want to install apache http server3. Extract the file at this location, command to extract 4. Download apr-1.5.2.tar.gz and apr-util-1.5.4.tar.gz and extract the files at httpd-2.4.12/srclib/ director a). Download apr-1.5.2.tar.gz and ... Read More »

Creating sub-domain in Apache

apache

Steps to create sub-domain on Apache : 1). Uncomment “Include conf/extra/httpd-vhosts.conf” line in the httpd.conf file. 2).Open the httpd-vhosts.conf file and enter the below mentioned line- Note: 10.10.10.10 is the IP address of the server, provide the sub-domain name against the “ServerName” field and if there is any particular index.html file for this sub-domain then give the path of that ... Read More »

Installation of Apache HTTP Server 2.2.x

apache

1). Download the Apache HTTP Server from the apache official site based on the OS you use.Choose the correct OS based file. 2) Create a installation folder “apache” inside the dev folder. c:\dev\apache – I am going to use this folder path in my further reference. 3) Now run the setup and during the setup process fill the appropriate data ... Read More »