I want to setup a mask for ip and if my pc is offline then not use the mask.
Like I have
RewriteEngine on
RewriteCond %{HTTP_HOST} ^site.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.site.com$ [NC]
RewriteRule ^high6$ "http\:\/\/x\.x\.x\.x\:8080\/" [P,NC,L]
which works fine.
But can I have it ping my ip first with a php file and if I am offline give a message that I am instead of redirecting?