Aug 22, 2003 #1 whizza Programmer Feb 4, 2002 16 GB Apache/1.3.28 Server In httpd.conf I can specify the DocumentRoot for a VirtualHost and index.htm works as the home page. Is there a way to specify the homepage.htm file to be used by a VirtualHost ?
Apache/1.3.28 Server In httpd.conf I can specify the DocumentRoot for a VirtualHost and index.htm works as the home page. Is there a way to specify the homepage.htm file to be used by a VirtualHost ?
Aug 22, 2003 1 #2 Farab Programmer Mar 20, 2001 60 GB Yes, you can put almost any directive inside the <VirtualHost>......</VirtualHost> directive and it will then only apply to that virtual host. What you need to do is put 'DirectoryIndex homepage.htm' inside the VirtualHost directive you want it to be affective in. Upvote 0 Downvote
Yes, you can put almost any directive inside the <VirtualHost>......</VirtualHost> directive and it will then only apply to that virtual host. What you need to do is put 'DirectoryIndex homepage.htm' inside the VirtualHost directive you want it to be affective in.