SetEnv HOMEPAGE_CONFIG /home/ben/projects/homepage/private/config.php RewriteEngine on RewriteBase /~ben/homepage/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(ajax/.*)$ a.php?l=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?l=$1