Create new VirtualHost in httpd.conf
<VirtualHost 10.10.10.1>
ServerName www.test.com
<Directory "/home/test/docs/">
Options Includes FollowSymLinks ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
DocumentRoot /home/test/docs
DirectoryIndex index.html index.htm
CustomLog /home/test//logs/access_log '%h www.test.com %l %u %t "%r" %s %b "%{referer}i" "%{user-agent}i"'
ErrorLog /home/test/logs/error_log
ScriptAlias /cgi-bin/ /home/test/cgi-bin/
</VirtualHost>
<VirtualHost 10.10.10.1>
ServerName www.test.com
<Directory "/home/test/docs/">
Options Includes FollowSymLinks ExecCGI Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
DocumentRoot /home/test/docs
DirectoryIndex index.html index.htm
CustomLog /home/test//logs/access_log '%h www.test.com %l %u %t "%r" %s %b "%{referer}i" "%{user-agent}i"'
ErrorLog /home/test/logs/error_log
ScriptAlias /cgi-bin/ /home/test/cgi-bin/
</VirtualHost>