Apache VHost Redirect IP

<VirtualHost 65.60.41.xxx:80>
DocumentRoot /var/www/adam/wakawaka.com
ServerName wakawaka.com

RewriteEngine On
RewriteCond %{REMOTE_ADDR} ^173.160.32.xxx$
RewriteRule ^(.*)$ /var/www/adam/wakawaka-2.com/$1 [NC,L]

<Directory /var/www/adam/wakawaka.com>
allow from all
Options +Indexes

Redirect .html to non

RewriteEngine On
RewriteBase /

#redirect to remove the .html extension
RewriteRule ^(.+).html$ $1 [L,NC,R=301]


#This snippet is experimental, the above breaks some of the media library .html requests - This seems to work but still testing


#redirect to remove the .html extension
RewriteCond %{REQUEST_URI} !^/wp-includes
RewriteCond %{REQUEST_URI} !^/wp-admin
RewriteCond %{REQUEST_URI} !^/wp-content
RewriteRule ^(.+).html$ $1 [L,NC,R=301]

Apache Server Info

if you put the following in /etc/apache2/http.conf
<Location /server-status>
SetHandler server-status
Order deny,allow
Allow from xxx.xxx.xxx.xxx
ExtendedStatus On