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 RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Below one for the subdomain <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /subdirectory/ RewriteRule ^index\.php$ – [L] …
Category: Uncategorized
IPtables
IPtables: Exact meaning of an option which are used in iptable command: ————– A – All source I – INPUT s – Source j – jump on ————– Procedure: For Example: If you want to check IP 49.248.23.83 is blocked or not then fire command iptables -nL | grep 49.248.23.83 You can see the …
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> <FRAME SRC=”http://www.domain.com.ie/” NORESIZE> </FRAMESET> </body> </html> [notice]Change your domain.com to your actual domain name. [/notice]
.htaccess
Disable Directory listing for particular folder using .htaccess. Insert the below code in .htaccess so that particular folder will not show directory listing vi .htaccess Options -Indexes save and quit the file.