.htaccess problem

Discussion in 'Installation/Configuration' started by msource, Dec 18, 2007.

  1. msource

    msource New Member


    I need help.
    I put an .htaccess in root site, in my error.log it give me the following error:
    /var/www/web61/web/.htaccess: php_value not allowed here,

    .htaccess code:
    php_value max_execution_time 1200
    php_value memory_limit 200M
    php_value post_max_size 10M
    php_value upload_max_filesize 10M
    It gave me an 500 internal error.

    How can i mannaged this?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The best way is to put the lines:

    php_value max_execution_time 1200
    php_value memory_limit 200M
    php_value post_max_size 10M
    php_value upload_max_filesize 10M

    in the apache directives field of the website and not in a .htaccess file.
  3. msource

    msource New Member


    It works. Your the best. All project of ISPConfig + the team is great.

Share This Page