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
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