Suppose you have a domain that is pointed to your server's IP.As soon as it reaches your server's IP you use Apache to point itto a DocumentRoot (in a VirtualHost).But instead of pointing it to a document root, can you point it to a script?I want the script to control what is displayed on the web, not the DocumentRoot.
Serve content generated by a script with Apache
apache httpd