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 »
HTTP Apache
Some useful flags (N, NC and QSA) for Apache server rewrite rules
Some useful flags (N, NC and QSA) for Apache server rewrite rules There are many flags available for Apache rewrite rules. Here we will talk about 3 useful flags- N, NC and QSA N|next-> [N] or Next flag causes the ruleset to start over again from the top. Use with extreme caution, as it may result in loop. NC|nocase-> [NC] ... Read More »
How to install HTTP Apache, MySql, PHP, PhpMyAdmin from source-Part 2
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
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
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 »
How to Find Apache HTTP server version in your Linux machine
The command to find the Apache HTTP server version in your Linux machine is httpd -v To run this command first go to your bin directory of Apache installed and then run the above command. Read More »
Configuring HTTP Apache Server and Tomact/ Jboss AS Application server
Download mod_jk (mod_jk.so is a Tomcat connector.) Download HTTP Apache server. And below I am describing the ways to configure mod_jk, HTTP Apache and Tomcat/Jboss AS 1). After downloading mod_jk rename this file as mod_jk.so 2). Place this file in the installed directory of apache in the below specified path – 3). Create the below mentioned files in the conf ... Read More »
Installation of Apache HTTP Server 2.2.x
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 »