hi i have a problem that i can't figure it out, i have several virtual hosts setup like this.
NameVirtualHost 1.1.1.1
<VirtualHost 1.1.1.1>
ServerName domain1
DocumentRoot /var/ServerPath /mrtg2/
</VirtualHost>
<VirtualHost 1.1.1.1>
DocumentRoot /var/ServerName domain2
</VirtualHost>
the problem is when i type it takes me to it seems to be treating the index.html file as a directory.
the weird thing is if i type it will display the index.html file from the document root of domain1.
not sure what the problem is but i want index.html pages in virtualhost statements to be treated as files and not have apache add a trailing /.
NameVirtualHost 1.1.1.1
<VirtualHost 1.1.1.1>
ServerName domain1
DocumentRoot /var/ServerPath /mrtg2/
</VirtualHost>
<VirtualHost 1.1.1.1>
DocumentRoot /var/ServerName domain2
</VirtualHost>
the problem is when i type it takes me to it seems to be treating the index.html file as a directory.
the weird thing is if i type it will display the index.html file from the document root of domain1.
not sure what the problem is but i want index.html pages in virtualhost statements to be treated as files and not have apache add a trailing /.