Alias /index.php /usr/local/share/simpleweb/index.php Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all RewriteEngine On RewriteOptions inherit RewriteCond %{REQUEST_URI} !^/backuppc/ RewriteCond %{REQUEST_URI} !^/gallery/ RewriteRule ^(.*)$ index.php?page=$1 [QSA,L] php_value include_path /var/www/:/usr/local/share/simpleweb/