From 2a7c4ef8a5c03b39e4a0002a8d4881068ff5a340 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Mon, 9 Jan 2012 02:49:57 +0000 Subject: [PATCH] Remove production .htaccess file from repo --- public/.gitignore | 2 ++ public/.htaccess | 16 ---------------- 2 files changed, 2 insertions(+), 16 deletions(-) create mode 100644 public/.gitignore delete mode 100644 public/.htaccess 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 - -