diff options
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 |