Gandi Groups


Gandi Simple Hosting: directives allowed in .htaccess for simple hosting

You should be logged in to post new messages. Create an account.

hello
I am trying to set up a simple hosting with the following directives but I
get an error. Are they not allowed or am I doing something wrong?

php_value auto_prepend_file /srv/data/web/vhosts
php_value error_reporting 31061
php_flag display_errors on

AddType application/x-httpd-php .php .htm
DirectoryIndex index.php

Thanks
Matteo
On May, 29 2012 11:41 CEST, matteo mazzeri wrote:
hello
I am trying to set up a simple hosting with the following directives but I
get an error. Are they not allowed or am I doing something wrong?

php_value auto_prepend_file /srv/data/web/vhosts
php_value error_reporting 31061
php_flag display_errors on

AddType application/x-httpd-php .php .htm
DirectoryIndex index.php

Thanks
Matteo
Hello,

the PHP values and admin values can not be used in a .htaccess fiel on
SimpleHosting. They won't be interpreted and cause a 500 HTTP error.

You may use the ini_set PHP function in your code directly to set some extra
parameters, keep in mind that all values are not changeable.

Regards,
Emerick
Gandi.net