Monday, 24 November 2014

Non-existing pages with "?p=" redirects to 404 page in wordpress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

RewriteCond %{QUERY_STRING} p=.*
RewriteRule .* - [R=404]

Monday, 17 November 2014

Next Documents

For more information about the High Availability Add-On and the Resilient Storage Add-On for Red Hat Enterprise Linux 6, refer to the following resources:
  • High Availability Add-On Overview — Provides a high-level overview of the Red Hat High Availability Add-On.
  • Cluster Administration — Provides information about installing, configuring and managing the High Availability Add-On.
  • DM Multipath — Provides information about using the Device-Mapper Multipath feature of Red Hat Enterprise Linux.
  • Load Balancer Administration — Provides information on configuring high-performance systems and services with the Load Balancer Add-On, a set of integrated software components that provide Linux Virtual Servers (LVS) for balancing IP load across a set of real servers.

Sunday, 2 November 2014

Configure postfix as a backup[secondary] mail server

Tried various possibilities to configure the secondary MX server to 
queue mails properly if primary MX fails. Today tried the secondary MX 
setup with below configuration and it worked out.....
 
In main.cf file,
 
relay_domains = $mydestination example.com
smtpd_recipient_restrictions = permit_mynetworks check_relay_domains
 
Included the transport_maps too in main.cf file in which configured the 
domain smtp transport address:

transport_maps = hash:/etc/postfix/transport
 
In /etc/postfix/transport file,
 
example.com smtp:mail.example.com
 
 
Concept:-
 
If primary mail server for the domain example.com will down then all the mails  are backuped/queued
in secondary/backup mail server[postfix] once the primary server will be ready then mails are delivered 
from backup to primary server.