4571 Posts in 1384 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1492 Views |
-
Error in .htaccess under assets directory in v2.3.2 RC2

1 June 2009 at 5:48pm
Hello,
I have been trying out the latest release candidate and I receive the following error in the Apache log files when accessing an image in the assets directory:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration, referer: http://www.domain.com/silverstripe/gallery/The code in the .htaccess file reads:
php_flag engine offTo overcome this issue, I renamed the .htaccess file. Has anyone else experienced this issue?
Cheers,
Gary
-
Re: Error in .htaccess under assets directory in v2.3.2 RC2

1 June 2009 at 5:51pm
Hello,
I believe that our hosting environment uses phpsuexec and this does not allow this override in the .htaccess file and it must occur in php.ini.
Cheers,
Gary
-
Re: Error in .htaccess under assets directory in v2.3.2 RC2

1 June 2009 at 8:15pm
It would be ok to comment out this line from the .htaccess
It is there to prevent php code from being run in the assets folder.
If your host allows you to set php.ini configs on a per directory basis, then you could create a php.ini for the assets folder, otherwise I would just leave it.
| 1492 Views | ||
|
Page:
1
|
Go to Top |


