diff --git a/public/.gitignore b/public/.gitignore new file mode 100644 index 0000000..a942bdc --- /dev/null +++ b/public/.gitignore @@ -0,0 +1,2 @@ +.htaccess + diff --git a/public/.htaccess b/public/.htaccess deleted file mode 100644 index fde21da..0000000 --- a/public/.htaccess +++ /dev/null @@ -1,16 +0,0 @@ -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 - -