There is no function available that does a redirect. But you can e.g. add a default vhost in the apache config which will catch automatically all requests for not configured or disabled / overquota websites.
on httpd.conf make this changes this work for me! Code: <VirtualHost (yourserverIP) 192.168.1.1:80> ServerAdmin webmaster@your host name.tld DocumentRoot /your/directory/path ServerName yourhostname.tld ErrorLog /var/log/srv-error_log CustomLog /var/log/srv-access_log common </VirtualHost> <VirtualHost *:80> DocumentRoot /your/directory/path ServerName your host name.tld <Directory "/your/directory/path"> allow from all Options +Indexes </Directory> </VirtualHost>