A few questions:
I have several domains hosted on the same server and I created some ReWrite rules that for specific {REQUEST_URI} gets redirected elsewhere. I copied these rules to each and every Virtual Host. Can I just put these rules in a file and do something like:
<VirtualHost>
ServerAdmin [email protected] DocumentRoot /var/www/html/<directory> ServerName <domain> ServerAlias www.<domain> ErrorLog logs/www_<domain>-error_log CustomLog logs/www_<domain>-access_log common RewriteEngine on Include rewrite_rules.conf
How can one create a rule that says if requests come in on specific domains to re-direct to a generic 'For Sale' page. Example, Same they type in www.Allertia.com and I want them to be directed to a For Sale Page.