aquí la solución:
Apache configuration:
Código Apache:
Ver originalNameVirtualHost *:80
Listen 80
<VirtualHost *:80>
ServerName localhost:80
DocumentRoot /home/projects/smk
ErrorLog /var/log/apache2/smk-error.log
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /home/projects/smk/cms
ServerName cms.localhost
ErrorLog /var/log/apache2/smk-cms-error.lo
</VirtualHost>
/etc/hosts configuration:
Código:
127.0.0.1 cms.localhost cms.localhost