Enabling .htaccess file to rewrite path (not working)

Enabling .htaccess file to rewrite path (not working) firstly enable a2enmod sudo a2enmod rewrite and sudo service apache2 restart sudo nano /etc/apache2/sites-enabled/000-default.conf add these lines at end <Directory /var/www/html> AllowOverride All </Directory> and sudo service apache2 restart

Read More

Removing file extensions using htaccess

Removing file extensions using htaccess Log into your cPanel. Find the Files category and click on the File Manager icon. In the top right hand corner, click on Settings. For the primary domain, click on the Web Root radio button. For addon domains, click on the dropdown and find your desired addon domain name. Be sure the checkbox next to Show Hidden Files is […]

Read More

MUST-TO-KNOW FACTS ABOUT INDIAN FOOD IF YOU LOVE SPICE

MUST-TO-KNOW FACTS ABOUT INDIAN FOOD IF YOU LOVE SPICE Who doesn’t love Indian food? Nothing quite beats the combination of bold, sophisticated spices, creamy sauce, and tangy heat. Not to mention all the extras that make traditional (and not so traditional) Indian dishes amazing; fluffy pulau rice, crispy onion bhajis, deep-filled samosas and chutney – […]

Read More

mail function not working in ec2 amazon aws php

mail function not working in ec2 amazon aws php -1down vote Just follow instructions below (Tested for ubuntu 10x EC2) sudo apt-get install php-pear // Install php-pear if not installed sudo pear install mail sudo pear install Net_SMTP sudo pear install Auth_SASL sudo pear install mail_mime sudo apt-get install postfix sudo service apache2 restart

Read More

mail function not working in ec2 amazon aws php

mail function not working in ec2 amazon aws php Solution worked for me: install sendmail by command: sudo apt-get install sendmail check the service whether its started or not by execuring follwing command service sendmail status Note: Output of above command should be something – ‘Active: active (running)’ start the service if it is not […]

Read More

hot to modify user group ubuntu

hot to modify user group ubuntu To modify an existing user, like adding that user to a new group, use the usermod command. Try this: sudo usermod -a -G groupName userName The user will need to log out and log back in to see their new group added. The -a (append) switch is essential. Otherwise, the user will be removed from […]

Read More

How To Create a Sudo User on Ubuntu

How To Create a Sudo User on Ubuntu The sudo command provides a mechanism for granting administrator privileges, ordinarily only available to the root user, to normal users. This guide will show you the easiest way to create a new user with sudo access on Ubuntu, without having to modify your server’s sudoers file. If you want to configure […]

Read More

Launch a Linux Virtual Machine

Launch a Linux Virtual Machine with Amazon EC2 Amazon Elastic Compute Cloud (EC2) is the Amazon Web Service you use to create and run virtual machines in the cloud. AWS calls these virtual machines ‘instances’. This step-by-step guide will help you successfully launch a Linux virtual machine on Amazon EC2 within our AWS Free Tier. Did you […]

Read More