.htaccess not working

Discussion in 'Installation/Configuration' started by TauTau, Mar 10, 2008.

  1. TauTau

    TauTau New Member


    I'm trying to install eGroupware, and there is a .htaccess file included which I can't get to work.

    My apache2.conf says
    <Directory /var/www/*/web>
        Options +Includes -Indexes
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
    and the .htaccess is

    # Set
    # AllowOverride FileInfo
    # to enable parsing off this file
    php_value memory_limit 32M
    php_value max_execution_time 60
    php_flag register_globals Off
    php_flag magic_quotes_gpc Off
    php_flag magic_quotes_runtime Off
    # settings for the file upload, you might increase them further
    php_value upload_max_filesize 16M
    # session handling: now the check for expired sessions is done on every 10th session creation
    php_flag session.use_trans_sid Off
    php_value session.gc_probability 1
    php_value session.gc_divisor 10
    # multibyte extension: needed for utf-8
    php_value mbstring.func_overload 7
    so this should work... but even when I add the AllowOverride FileInfo to the site directives in ISPconfig, I always get the infamous "httpd -t error" in ispconfig.log (this should probably pop up somewhere, if one doesn't monitor the log file it goes by silently).
    I am running suphp btw...
  2. daveb

    daveb Member

    suPHP does not support the php_value/php_admin_value directives.
  3. TauTau

    TauTau New Member

    hm, ok... is there a way then to set those vlaues, without giving up suphp for all sites?
  4. Hans

    Hans Moderator

    By the way, i see that you have:
    "AllowOverride None" within your Apache configuration file which means that .htaccess files are not allowed.
    Last edited: Mar 11, 2008
  5. TauTau

    TauTau New Member

    but below it is "AllowOverride FileInfo", shouldn't that allow it? btw, I found the solution in the other thread regarding suphp and php_value, I use a separate php.ini now. Now I just need to convince eGroupware that php-pear actually *is* installed (or is this another suphp issue?)
  6. Hans

    Hans Moderator

    "AllowOverride None" should be "AllowOverride All" to allow the use of .htaccess files. restart Apache afterwards.

Share This Page