How do I add this Apache type directive?

Discussion in 'Apache Migration/Compatibility' started by bfons, Apr 27, 2006.

  1. bfons

    bfons New Member

    The spell checker for Squirrelmail is not working and per the INSTALL file, I may need to add this:

    <Directory /webroot/squirrelmail/plugins/squirrelspell>
    php_admin_value safe_mode 0

    What would the syntax be for my LS conf file?


  2. mistwang

    mistwang LiteSpeed Staff

    You need to add a context for that directory, and set "php_admin_value" there.
    For example: if directory /webroot/squirrelmail/plugins/squirrelspell/ was accessed with url "/squirrelmail/plugins/squirrelspell/" then define a context with URI: squirrelmail/plugins/squirrelspell/, location: /webroot/squirrelmail/plugins/squirrelspell/, and set "php_addmin_value safe_mode 0" in "Apache style configuration"

Share This Page