NameVirtualHost *:80
#Servername localhost
#DocumentRoot /var/www/
#ServerAdmin
<VirtualHost *:80>
ServerName caracol.dev.mx
ServerAlias caracol.dev.mx
Options Indexes Includes FollowSymLinks ExecCGI
DocumentRoot /home/victor/develop/caracol/
<directory /home/victor/develop/caracol/>
allow from all
</directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
</VirtualHost>
#<Directory "/home/develop/3xMX/cgis_files/">
<Directory "/home/develop/caracol/cgis_files/">
AllowOverride None
Options Indexes Includes ExecCGI
Order allow,deny
Allow from all
Addhandler cgi-script .cgi .pl
</Directory>
<VirtualHost *:80>
ServerName dev.mx
ServerAlias dev.mx
DocumentRoot /home/victor/develop/
<directory /home/victor/develop/>
allow from all
</directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
</VirtualHost>
en que parte debo colocar el texto que comentas, espero me puedas responder rapido