Changeset 1290

Show
Ignore:
Timestamp:
11/13/07 19:17:40 (1 year ago)
Author:
rho
Message:

fixed #152, try to set php flags if running as module

Signed-off-by: Rolando Espinoza La Fuente <darkrho@gmail.com>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/htaccess-dist

    r1261 r1290  
    1111</Files> 
    1212 
     13# Don't listing directory 
     14Options -Indexes 
     15 
     16# Follow symbolic links 
    1317Options +FollowSymLinks 
     18 
     19# Default handler 
     20DirectoryIndex index.php 
    1421 
    1522# Whether to display PHP error messages in page output. Recommended to be off for production systems. 
     
    2532 
    2633# Elgg can be more of a RAM lover than PHP's default of 8 meg. E.g. 16 meg: 
    27 php_value memory_limit 16777216 
     34#php_value memory_limit 16777216 
    2835 
    2936# Not really necessary, just to be clean 
     
    3138# Forgot that anyone might still have this turned on 
    3239#php_flag register_globals off 
     40 
     41# php 4, apache 1.x 
     42<IfModule mod_php4.c> 
     43        php_value memory_limit 16777216 
     44        php_value register_globals 0 
     45</IfModule> 
     46 
     47# php 4, apache 2 
     48<IfModule sapi_apache2.c> 
     49        php_value memory_limit 16777216 
     50        php_value register_globals 0 
     51</IfModule> 
     52 
     53# php 5, apache 1 and 2 
     54<IfModule mod_php5.c> 
     55        php_value memory_limit 16777216 
     56        php_value register_globals 0 
     57</IfModule> 
    3358 
    3459<IfModule mod_rewrite.c>