I currently have a VirtualHost set up and have the default HeaderName and ReadmeName to index_header.shtml and index_footer.shtml, respectively. But I would like to use PHP instead. Is there a way to do this? Here is the VirtualHost code I have:
Code:
<VirtualHost *:80>
DocumentRoot W:\path\to\document\root
ServerName nameofmy.site
IndexOptions +IgnoreCase +SuppressDescription NameWidth=* +SuppressHTMLPreamble
<Directory "/">
HeaderName index_header.shtml
ReadmeName index_footer.shtml
</Directory>
</VirtualHost>
If it is not possible to use PHP, is there a way to set the entire "/" directory tree to use the same two files? Or do I have to place index_header.shtml and index_footer.shtml in every directory that I want to use them?
Server configuration:
Windows XP Pro SP2 running Apache/2.0.52 (Win32) mod_ssl/2.0.52 OpenSSL/0.9.7e PHP/5.0.3 Server
Mods: If this post would be better suited for the IT forum, please move it. I wasn't sure which one to post in.