Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

httpd.conf multiple directoryindex

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi ALL

Anyone know how to set multiple directoryindex in case below:

<VirtualHost 1.1.1.1>
ServerName ServerAlias a.b.c\akccb
Documentroot /usr/local/apache/public_html/
<Directory /usr/local/apache/public_html>
</Directory>
DirectoryIndex index.htm
Errorlog logs/abc-error_log
CustomLog logs/abc-access_log combined
</VirtualHost>

<VirtualHost 1.1.1.1>
ServerName ServerAlias a.b.c\akccb
Documentroot /usr/local/apache/public_html/akccb/
<Directory /usr/local/apache/public_html/akccb>
</Directory>
DirectoryIndex home.htm
Errorlog logs/abc-error_log
CustomLog logs/abc-access_log combined
</VirtualHost>

in directory /usr/local/apache/public_html and akccb got home.htm and index.htm

please help me

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top