diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-22 20:58:21 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-22 20:58:21 +0000 |
commit | 46c278c3603765b623fa441e2435274fbeda05ad (patch) | |
tree | c2b926d3195aa71524f9c8b692e567cfd4605b9b /htaccess_dist | |
parent | f9ee6f1429f800c3eed3c0ef59d98219be32fba8 (diff) | |
download | elgg-46c278c3603765b623fa441e2435274fbeda05ad.tar.gz elgg-46c278c3603765b623fa441e2435274fbeda05ad.tar.bz2 |
Merged r6620:6653 from 1.7 branch into trunk
git-svn-id: http://code.elgg.org/elgg/trunk@6846 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'htaccess_dist')
-rw-r--r-- | htaccess_dist | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/htaccess_dist b/htaccess_dist index 7001610c0..a2c4dac8b 100644 --- a/htaccess_dist +++ b/htaccess_dist @@ -3,13 +3,6 @@ # License http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 # Link http://elgg.org/ -<IfModule !mod_rewrite.c> - # ugly ugly hack to detect missing mod_rewrite - # RedirectMatch must be to an absolute destination, so forces 500 error... - ErrorDocument 500 "Elgg error: Apache does not have mod_rewrite loaded. Please check your Apache setup." - RedirectMatch 302 .* index.php -</IfModule> - <Files "htaccess_dist"> order allow,deny deny from all @@ -30,18 +23,6 @@ DirectoryIndex index.php ExpiresDefault "access plus 10 years" </IfModule> -# php 4, apache 1.x -<IfModule mod_php4.c> - ErrorDocument 500 "Elgg error: Elgg does not support PHP 4." - RedirectMatch 302 .* index.php -</IfModule> - -# php 4, apache 2 -<IfModule sapi_apache2.c> - ErrorDocument 500 "Elgg error: Elgg does not support PHP 4." - RedirectMatch 302 .* index.php -</IfModule> - # php 5, apache 1 and 2 <IfModule mod_php5.c> # default memory limit to 64Mb |