dev vhosts.d # cat 00_default.conf NameVirtualHost *:80 ServerName localhost DocumentRoot /var/www/localhost/htdocs Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all ServerEnvironment apache apache MinSpareProcessors 4 MaxProcessors 20 dev vhosts.d # cat myvhost1.conf ServerName myvhost1 DocumentRoot /home/test/myvhost1 ErrorLog @rel_logfiledir@/myvhost1-error.log CustomLog @rel_logfiledir@/myvhost1-access.log common RewriteEngine On RewriteCond %{REQUEST_URI} !^.*(\.css|\.js|\.gif|\.png|\.jpg|\.jpeg)$ RewriteRule ^(/.*)$ /index.php