Command to check server inode value
Command to check server inode value Fire the below command in shell. root@test[~]# df -i It will provide the below output. Filesystem Inodes …
How to enable php.ini for all the folders under one account
How to enable php.ini for all the folders under one account Copy the php.ini file in the public_html folder of the user using below command.cp /usr/local/apache/php.ini . Then create .htaccess…
404 error code for all third party applications
404 error code for all third party applications Copy and paste the code in .htaccess file For main domain only <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f…
IPtables
IPtables: Exact meaning of an option which are used in iptable command: ————– A – All source I – INPUT s – Source j – jump on ————– Procedure:…
How to setup Frame Forwarding
To redirect the page without changing web address. You can use the below code: Create the index page and insert the below code: <html> <body> <FRAMESET ROWS=”*,0″ FRAMEBORDER=0 BORDER=0 FRAMESPACING=0>…
Logs files and Path on Linux server
Logs files and Path on Linux server General message and system related stuff * /var/log/message Authentication logs /var/log/auth.log Kernel logs /var/log/kern.log Crond logs (cron job) /var/log/cron.log Mail server logs…
Disable Directory listing for particular folder using .htaccess.
Disable Directory listing for particular folder using .htaccess. Insert the below code in .htaccess so that particular folder will not show directory listingvi .htaccess Options -Indexes save and quit the…