Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jester on July 25, 2007, 04:50:09 PM

Title: Override display_errors with .htaccess file don't work?!
Post by: jester on July 25, 2007, 04:50:09 PM
Maybe someone can correct me...

I'm trying to override the default php.ini settings for displaying errors by adding the following statement to a .htaccess -file:
Code: [Select]
php_flag display_errors on
But phpinfo() keeps telling me it's still off. Anyone got suggestions?!


Kind regards,
jester
Title: Override display_errors with .htaccess file don't work?!
Post by: haymann on July 25, 2007, 06:01:53 PM
This should work, just replace "ibayname" with the name of your ibay.
Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
db accounts setprop ibayname AllowOverride All
signal-event ibay-modify ibname


However you might want to look at this thread (http://forums.contribs.org/index.php?topic=29719.0) as well as many others as it looks like creating a custom template is the preferred method. Should be easily searched for I think.
Ryan