Authentication (Linux) through htaccess: Authentication through Htaccess #Shell> vi .htaccess AuthUserFile /public_html/private/.htpasswd AuthName "Secret Stuff" AuthType Basic require valid-user Authentication for Single File access on Apache (Linux) through htaccess Edit httpd.conf file and add … Continue Reading →
How to redirect the website to another domain through apache conf
If you have new website and you want to redirect that website to another domain url you need to add the virtual conf in apache configuration file and reload the … Continue Reading →
How to redirect the website through .htaccess
In .htaccess you need to add the below content and say the file. Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yeswedo\.in RewriteRule ^(.*)$ http://www.yeswedo.in$1 [R=permanent,L] Note: Be sure that … Continue Reading →
Apache Interview Questions & Answers
Q: – What is location of log files for Apache server ? Ans- /var/log/httpd Q: – What are the types of virtual hosts ? Ans- a. name-based b. IP-based. Name-based … Continue Reading →
How To configure NFS
1. Introduction The Network File System is certainly one of the most widely used network services. Network file system (NFS) is based on the Remote procedure call. It allows the client … Continue Reading →
Automatically Disable Touchpad When Mouse Is Connected [Ubuntu]
To Disable Touch pad when you use external mouse, use below command which will help you to disable the mouse when you insert external mouse and enables automatically when you … Continue Reading →