How do I add this Apache type directive?

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

APACHE CONF EXAMPLE:
<Directory /webroot/squirrelmail/plugins/squirrelspell>
php_admin_value safe_mode 0
</Directory>


What would the syntax be for my LS conf file?

TIA,

Brian
 

mistwang

LiteSpeed Staff
#2
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"
 
Top