You can place this snippet in your httpd-vhosts.conf
file:
<VirtualHost *:80>
DocumentRoot "/srv/http/site-dir"
ServerName project-site-dir.my
ServerAlias www.project-site-dir.my
Options -MultiViews -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^/(.+)$ /index.php?url=$1 [QSA,L]
ErrorLog "/var/log/httpd/project-site-dir.my-error_log"
CustomLog "/var/log/httpd/project-site-dir.my-access_log" common
</VirtualHost>