Categorized | News

Virtual Host Lister

Posted on 03 July 2001 by Demian Turner

If you have an ever growing list of virtual hosts in your httpd.conf
you may find this script useful as a default homepage.

Name this file index.php and use it to replace the index.html file
in the docroot of your Apache installation:

  • Unix: /usr/local/apache/htdocs
  • Windows: C:\Program Files\Apache Group\Apache\htdocs

Click read more for the code.

Bookmark and Share

Leave a Reply



Demian Turner's currently-reading book recommendations, reviews, favorite quotes, book clubs, book trivia, book lists



PHPkitchen recommends you also check out the following sites :

Accounting for Small Businesses

FreeAgent sign-up