Hello all! I am new to Apache and trying to make it work, so here's my problem. I have created a rewrite rule, and it is not rewriting.

My folder structure is as follows:

root/
genesis/
index.php
.htaccess

I checked to make sure that the rewrite module is being loaded in my httpd.conf file.

Then, I put the following in my virtual host file:

Code:
<VirtualHost *:80>
        DocumentRoot "/Users/barryhjames/Sites/stwilliamtheabbot"
        ServerName stwilliam
        ErrorLog "/Private/var/log/apache2/stwilliam-error_log"
        RewriteLog "/Private/var/log/apache2/stwilliam-rewrite_log"
        RewriteLogLevel 9
        <Directory /Users/barryhjames/Sites/stwilliamtheabbot>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>
And then this is what my .htaccess file looks like:

Code:
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
        
RewriteRule ^(.+)$ /index.php?url=$1 [QSA,L]
Basically, I want whatever someone types in after /root/genesis/ to re-route to /root/genesis/index.php.

Any help would be much appreciated!